summaryrefslogtreecommitdiff
path: root/package/libinih
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2021-09-21 16:21:38 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2021-10-22 19:40:14 +0200
commit6284f05d016da4964e7a962783177a98eabc9064 (patch)
tree10596cb55474f6570367bf3e31294211904981c8 /package/libinih
parentcef4c54064f339495b1037eba1cf92fddd03bb76 (diff)
xfsprogs: update to 5.13.0
Diffstat (limited to 'package/libinih')
-rw-r--r--package/libinih/Makefile36
1 files changed, 36 insertions, 0 deletions
diff --git a/package/libinih/Makefile b/package/libinih/Makefile
new file mode 100644
index 000000000..81b70f308
--- /dev/null
+++ b/package/libinih/Makefile
@@ -0,0 +1,36 @@
+# This file is part of the OpenADK project. OpenADK is copyrighted
+# material, please see the LICENCE file in the top-level directory.
+
+include $(ADK_TOPDIR)/rules.mk
+
+PKG_NAME:= libinih
+PKG_VERSION:= r53
+PKG_RELEASE:= 1
+PKG_HASH:= 01b0366fdfdf6363efc070c2f856f1afa33e7a6546548bada5456ad94a516241
+PKG_DESCR:= ini parser library
+PKG_SECTION:= libs/misc
+PKG_BUILDDEP:= meson-host
+PKG_URL:= https://github.com/benhoyt/inih
+PKG_SITES:= https://github.com/benhoyt/inih/archive/refs/tags/
+PKG_OPTS:= dev
+
+DISTFILES:= $(PKG_VERSION).tar.gz
+
+WRKDIST= ${WRKDIR}/inih-${PKG_VERSION}
+
+include $(ADK_TOPDIR)/mk/package.mk
+
+$(eval $(call PKG_template,LIBINIH,libinih,$(PKG_VERSION)-$(PKG_RELEASE),$(PKG_DEPENDS),$(PKG_DESCR),$(PKG_SECTION),$(PKG_OPTS)))
+
+WRKBUILD= $(WRKDIR)/$(PKG_NAME)-obj
+
+CONFIG_STYLE:= meson
+BUILD_STYLE:= meson
+INSTALL_STYLE:= meson
+
+libinih-install:
+ $(INSTALL_DIR) $(IDIR_LIBINIH)/usr/lib
+ $(CP) $(WRKINST)/usr/lib/libinih*.so* \
+ $(IDIR_LIBINIH)/usr/lib
+
+include $(ADK_TOPDIR)/mk/pkg-bottom.mk