gcc: add old versions
[openadk.git] / package / confuse / Makefile
blob595f340da6983c203f3219f655572c3a7e946998
1 # This file is part of the OpenADK project. OpenADK is copyrighted
2 # material, please see the LICENCE file in the top-level directory.
4 include ${ADK_TOPDIR}/rules.mk
6 PKG_NAME:= confuse
7 PKG_VERSION:= 3.0
8 PKG_RELEASE:= 1
9 PKG_HASH:= f1f326d9443103036d19c32d3f3efec3a85c3b081d99534463668d29992c4648
10 PKG_DESCR:= configuration file parser library
11 PKG_SECTION:= libs/misc
12 PKG_URL:= https://github.com/martinh/libconfuse
13 PKG_SITES:= https://github.com/martinh/libconfuse/releases/download/v$(PKG_VERSION)/
14 PKG_LIBNAME:= libconfuse
15 PKG_OPTS:= dev
17 DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
19 include ${ADK_TOPDIR}/mk/host.mk
20 include ${ADK_TOPDIR}/mk/package.mk
22 $(eval $(call HOST_template,CONFUSE,confuse,$(PKG_VERSION)-${PKG_RELEASE}))
23 $(eval $(call PKG_template,LIBCONFUSE,libconfuse,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
25 libconfuse-install:
26 ${INSTALL_DIR} ${IDIR_LIBCONFUSE}/usr/lib
27 ${CP} ${WRKINST}/usr/lib/libconfuse.so* ${IDIR_LIBCONFUSE}/usr/lib
29 include ${ADK_TOPDIR}/mk/host-bottom.mk
30 include ${ADK_TOPDIR}/mk/pkg-bottom.mk