Makefile 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839
  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:= pcre
  5. PKG_VERSION:= 8.02
  6. PKG_RELEASE:= 1
  7. PKG_MD5SUM:= 214462e9718e3f9197cba114dc6b00b8
  8. PKG_DESCR:= a Perl Compatible Regular Expression library
  9. PKG_SECTION:= libs
  10. PKG_URL:= http://www.pcre.org/
  11. PKG_SITES:= ${MASTER_SITE_SOURCEFORGE:=pcre/}
  12. PKG_SUBPKGS:= LIBPCRE LIBPCRE_DEV
  13. PKGSD_LIBPCRE_DEV:= PCRE headers
  14. PKGSC_LIBPCRE_DEV:= devel
  15. include ${TOPDIR}/mk/package.mk
  16. $(eval $(call PKG_template,LIBPCRE,libpcre,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  17. $(eval $(call PKG_template,LIBPCRE_DEV,libpcre-dev,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  18. CONFIGURE_ARGS+= --disable-cpp
  19. XAKE_FLAGS+= ${TARGET_CONFIGURE_OPTS}
  20. libpcre-install:
  21. ${INSTALL_DIR} ${IDIR_LIBPCRE}/usr/lib
  22. ${CP} ${WRKINST}/usr/lib/libpcre{,posix}.so* ${IDIR_LIBPCRE}/usr/lib
  23. libpcre-dev-install:
  24. ${INSTALL_DIR} ${IDIR_LIBPCRE_DEV}/usr/include
  25. ${CP} ${WRKINST}/usr/include/*.h \
  26. ${IDIR_LIBPCRE_DEV}/usr/include
  27. ${INSTALL_DIR} ${IDIR_LIBPCRE_DEV}/usr/lib/pkgconfig
  28. ${INSTALL_DATA} ${WRKINST}/usr/lib/pkgconfig/*.pc \
  29. ${IDIR_LIBPCRE_DEV}/usr/lib/pkgconfig
  30. include ${TOPDIR}/mk/pkg-bottom.mk