Makefile 871 B

123456789101112131415161718192021222324252627282930
  1. # This file is part of the OpenADK project. OpenADK is copyrighted
  2. # material, please see the LICENCE file in the top-level directory.
  3. include ${TOPDIR}/rules.mk
  4. PKG_NAME:= popt
  5. PKG_VERSION:= 1.16
  6. PKG_RELEASE:= 4
  7. PKG_MD5SUM:= 3743beefa3dd6247a73f8f7a32c14c33
  8. PKG_DESCR:= command line option parsing library
  9. PKG_SECTION:= libs/misc
  10. PKG_BUILDDEP:= libiconv-tiny
  11. PKG_URL:= http://rpm5.org/
  12. PKG_SITES:= http://rpm5.org/files/popt/
  13. PKG_LIBNAME:= libpopt
  14. PKG_OPTS:= dev
  15. DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
  16. include ${TOPDIR}/mk/package.mk
  17. $(eval $(call PKG_template,LIBPOPT,libpopt,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
  18. TARGET_LDFLAGS+= -liconv
  19. libpopt-install:
  20. ${INSTALL_DIR} ${IDIR_LIBPOPT}/usr/lib
  21. ${CP} ${WRKINST}/usr/lib/libpopt.so* ${IDIR_LIBPOPT}/usr/lib
  22. include ${TOPDIR}/mk/pkg-bottom.mk