Makefile 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  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.31
  6. PKG_RELEASE:= 2
  7. PKG_MD5SUM:= fab1bb3b91a4c35398263a5c1e0858c1
  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. XAKE_FLAGS+= ${TARGET_CONFIGURE_OPTS}
  24. libpcre-install:
  25. ${INSTALL_DIR} ${IDIR_LIBPCRE}/usr/lib
  26. ${CP} ${WRKINST}/usr/lib/libpcre{,posix}.so* ${IDIR_LIBPCRE}/usr/lib
  27. libpcrecpp-install:
  28. ${INSTALL_DIR} ${IDIR_LIBPCRECPP}/usr/lib
  29. ${CP} ${WRKINST}/usr/lib/libpcrecpp.so* ${IDIR_LIBPCRECPP}/usr/lib
  30. include ${TOPDIR}/mk/pkg-bottom.mk