Makefile 851 B

12345678910111213141516171819202122232425262728
  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
  13. include ${TOPDIR}/mk/package.mk
  14. $(eval $(call PKG_template,LIBPCRE,libpcre,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  15. CONFIGURE_ARGS+= --disable-cpp
  16. XAKE_FLAGS+= ${TARGET_CONFIGURE_OPTS} CFLAGS='${TCFLAGS}'
  17. post-install:
  18. ${INSTALL_DIR} ${IDIR_LIBPCRE}/usr/lib
  19. ${CP} ${WRKINST}/usr/lib/libpcre{,posix}.so* ${IDIR_LIBPCRE}/usr/lib/
  20. include ${TOPDIR}/mk/pkg-bottom.mk