Makefile 894 B

1234567891011121314151617181920212223242526272829
  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:= 7.9
  6. PKG_RELEASE:= 1
  7. PKG_MD5SUM:= 2256d0a1d0a358265165ca70e7cfc47a
  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. include ${TOPDIR}/mk/package.mk
  13. $(eval $(call PKG_template,LIBPCRE,${PKG_NAME},${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  14. CONFIGURE_STYLE:= gnu
  15. CONFIGURE_ARGS+= --disable-cpp
  16. BUILD_STYLE:= auto
  17. INSTALL_STYLE:= auto
  18. XAKE_FLAGS+= ${TARGET_CONFIGURE_OPTS} CFLAGS='${TCFLAGS}'
  19. post-install:
  20. ${INSTALL_DIR} ${IDIR_LIBPCRE}/usr/lib
  21. ${CP} ${WRKINST}/usr/lib/libpcre{,posix}.so.* ${IDIR_LIBPCRE}/usr/lib/
  22. include ${TOPDIR}/mk/pkg-bottom.mk