fix patch, after aufs2 addition
[openadk.git] / package / popt / Makefile
blob2c355dbfb52dda80b082b7f9ed50c28d7927c236
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 ${TOPDIR}/rules.mk
6 PKG_NAME:= popt
7 PKG_VERSION:= 1.16
8 PKG_RELEASE:= 1
9 PKG_MD5SUM:= 3743beefa3dd6247a73f8f7a32c14c33
10 PKG_DESCR:= a command line option parsing library
11 PKG_SECTION:= libs
12 PKG_DEPENDS:= libiconv
13 PKG_BUILDDEP:= libiconv
14 PKG_URL:= http://rpm5.org/
15 PKG_SITES:= http://rpm5.org/files/popt/
17 PKG_SUBPKGS:= LIBPOPT
19 ifeq ($(ADK_STATIC),y)
20 PKG_OPTS:= libonly
21 endif
23 include ${TOPDIR}/mk/package.mk
25 $(eval $(call PKG_template,LIBPOPT,libpopt,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
27 post-install:
28 ${INSTALL_DIR} ${IDIR_LIBPOPT}/usr/lib
29 ${CP} ${WRKINST}/usr/lib/libpopt.so* ${IDIR_LIBPOPT}/usr/lib/
31 include ${TOPDIR}/mk/pkg-bottom.mk