Makefile 863 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.15
  6. PKG_RELEASE:= 2
  7. PKG_BUILDDEP+= libiconv
  8. PKG_MD5SUM:= c61ef795fa450eb692602a661ec8d7f1
  9. PKG_DESCR:= a command line option parsing library
  10. PKG_SECTION:= libs
  11. PKG_DEPENDS:= libiconv
  12. PKG_URL:= http://rpm5.org
  13. PKG_SITES:= http://rpm5.org/files/popt/
  14. include ${TOPDIR}/mk/package.mk
  15. $(eval $(call PKG_template,LIBPOPT,libpopt,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  16. CONFIGURE_STYLE:= gnu
  17. #CONFIGURE_ENV+= am_cv_func_iconv=no
  18. BUILD_STYLE:= auto
  19. INSTALL_STYLE:= auto
  20. post-install:
  21. ${INSTALL_DIR} ${IDIR_LIBPOPT}/usr/lib
  22. ${CP} ${WRKINST}/usr/lib/libpopt.so.* ${IDIR_LIBPOPT}/usr/lib/
  23. include ${TOPDIR}/mk/pkg-bottom.mk