diff options
author | Joerg Seitter <adk@seitter.net> | 2020-04-29 22:17:56 +0200 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2020-05-05 09:22:52 +0200 |
commit | eb9bda562b7d43853f30aa8a5c5d7cbe20926ec3 (patch) | |
tree | 4fd0a3ecab7b04c176d5b0326153ca0b916b29ed | |
parent | 0b44e987c4261869e1f7f585e5bcd2594d9f3229 (diff) |
new package libconfig
Signed-off-by: Joerg Seitter <adk@seitter.net>
-rw-r--r-- | package/libconfig/Makefile | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/package/libconfig/Makefile b/package/libconfig/Makefile new file mode 100644 index 000000000..4cb87e79f --- /dev/null +++ b/package/libconfig/Makefile @@ -0,0 +1,27 @@ +# 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:= libconfig +PKG_VERSION:= 1.7.2 +PKG_RELEASE:= 1 +PKG_HASH:= 7c3c7a9c73ff3302084386e96f903eb62ce06953bb1666235fac74363a16fad9 +PKG_DESCR:= configuration library +PKG_SECTION:= libs/misc +PKG_URL:= https://github.com/hyperrealm/libconfig +PKG_SITES:= https://github.com/hyperrealm/libconfig/raw/master/docs/dist/ +PKG_OPTS:= dev + +DISTFILES:= $(PKG_NAME)-$(PKG_VERSION).tar.gz + +include $(ADK_TOPDIR)/mk/package.mk + +$(eval $(call PKG_template,LIBCONFIG,libconfig,$(PKG_VERSION)-$(PKG_RELEASE),$(PKG_DEPENDS),$(PKG_DESCR),$(PKG_SECTION),$(PKG_OPTS))) + +libconfig-install: + $(INSTALL_DIR) $(IDIR_LIBCONFIG)/usr/lib + $(CP) $(WRKINST)/usr/lib/libconfig*.so* \ + $(IDIR_LIBCONFIG)/usr/lib + +include $(ADK_TOPDIR)/mk/pkg-bottom.mk |