Makefile 990 B

123456789101112131415161718192021222324252627282930313233
  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:= pcrepp
  5. PKG_VERSION:= 0.9.5
  6. PKG_RELEASE:= 1
  7. PKG_MD5SUM:= 1fe6ea8e23ece01fde2ce5fb4746acc2
  8. PKG_DESCR:= Cpp Wrapper classes for PCRE
  9. PKG_SECTION:= libs
  10. PKG_URL:= http://www.daemon.de/PCRE
  11. PKG_SITES:= http://www.daemon.de/idisk/Apps/pcre++/
  12. PKG_DEPENDS:= libpcre
  13. PKG_BUILDDEP:= pcre
  14. PKG_NEED_CXX:= 1
  15. PKG_CXX:= pcrepp
  16. PKG_CFLINE_PCREPP:= depends on ADK_TARGET_LIB_EGLIBC || ADK_TARGET_LIB_GLIBC
  17. DISTFILES:= pcre++-${PKG_VERSION}.tar.gz
  18. include ${TOPDIR}/mk/package.mk
  19. $(eval $(call PKG_template,PCREPP,${PKG_NAME},${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  20. post-extract:
  21. mv ${WRKDIR_BASE}/w-${PKG_NAME}-${PKG_VERSION}-${PKG_RELEASE}/pcre++-${PKG_VERSION} ${WRKBUILD}
  22. post-install:
  23. ${CP} ${WRKINST}/* ${WRKINST}/../pkg-${PKG_NAME}
  24. include ${TOPDIR}/mk/pkg-bottom.mk