Makefile 976 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. WRKDIST= ${WRKDIR}/pcre++-${PKG_VERSION}
  19. include ${TOPDIR}/mk/package.mk
  20. $(eval $(call PKG_template,PCREPP,${PKG_NAME},${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  21. post-install:
  22. $(INSTALL_DIR) $(IDIR_PCREPP)/usr/lib
  23. $(CP) $(WRKINST)/usr/lib/libpcre++.so* \
  24. $(IDIR_PCREPP)/usr/lib
  25. include ${TOPDIR}/mk/pkg-bottom.mk