Makefile 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  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.34
  6. PKG_RELEASE:= 1
  7. PKG_MD5SUM:= eb34b2c9c727fd64940d6fd9a00995eb
  8. PKG_DESCR:= a Perl Compatible Regular Expression library
  9. PKG_SECTION:= libs
  10. PKG_BUILDDEPS:= gettext-tiny
  11. PKG_URL:= http://www.pcre.org/
  12. PKG_SITES:= ${MASTER_SITE_SOURCEFORGE:=pcre/}
  13. PKG_LIBNAME:= libpcre
  14. PKG_OPTS:= dev
  15. PKG_SUBPKGS:= LIBPCRE LIBPCRECPP
  16. PKGSD_LIBPCRECPP:= PCRE c++ library
  17. ifeq ($(ADK_STATIC),y)
  18. PKG_OPTS+= libmix
  19. endif
  20. include ${TOPDIR}/mk/package.mk
  21. $(eval $(call PKG_template,LIBPCRE,libpcre,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
  22. $(eval $(call PKG_template,LIBPCRECPP,libpcrecpp,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKGSD_LIBPCRECPP},${PKG_SECTION}))
  23. CONFIGURE_ARGS+= --enable-utf
  24. XAKE_FLAGS+= ${TARGET_CONFIGURE_OPTS}
  25. libpcre-install:
  26. ${INSTALL_DIR} ${IDIR_LIBPCRE}/usr/lib
  27. ${CP} ${WRKINST}/usr/lib/libpcre{,posix}.so* ${IDIR_LIBPCRE}/usr/lib
  28. libpcrecpp-install:
  29. ${INSTALL_DIR} ${IDIR_LIBPCRECPP}/usr/lib
  30. ${CP} ${WRKINST}/usr/lib/libpcrecpp.so* ${IDIR_LIBPCRECPP}/usr/lib
  31. include ${TOPDIR}/mk/pkg-bottom.mk