Makefile 1004 B

12345678910111213141516171819202122232425262728293031323334353637
  1. # $Id$
  2. #-
  3. # This file is part of the OpenADK project. OpenADK is copyrighted
  4. # material, please see the LICENCE file in the top-level directory.
  5. include ${TOPDIR}/rules.mk
  6. PKG_NAME:= pcre
  7. PKG_VERSION:= 7.2
  8. PKG_RELEASE:= 1
  9. PKG_MD5SUM:= 5ca11a81b753de24fb87ddc872ccaa67
  10. MASTER_SITES:= ${MASTER_SITE_SOURCEFORGE:=pcre/}
  11. include ${TOPDIR}/mk/package.mk
  12. $(eval $(call PKG_template,LIBPCRE,libpcre,${PKG_VERSION}-${PKG_RELEASE}))
  13. CONFIGURE_STYLE:= gnu
  14. CONFIGURE_ARGS+= --enable-utf8
  15. # C++ support uses libstdc++ not uClibc++ so disable it
  16. CONFIGURE_ARGS+= --disable-cpp
  17. BUILD_STYLE:= auto
  18. INSTALL_STYLE:= auto
  19. XAKE_FLAGS+= ${TARGET_CONFIGURE_OPTS} CFLAGS='${TCFLAGS}'
  20. #pre-build:
  21. # ${MAKE} -C '${WRKBUILD}' \
  22. # CC_FOR_BUILD='${HOSTCC}' \
  23. # LINK_FOR_BUILD='${HOSTCC}' \
  24. # CFLAGS_FOR_BUILD='${HOSTCFLAGS}' \
  25. # dftables
  26. post-install:
  27. ${INSTALL_DIR} ${IDIR_LIBPCRE}/usr/lib
  28. ${CP} ${WRKINST}/usr/lib/libpcre{,posix}.so.* ${IDIR_LIBPCRE}/usr/lib/
  29. include ${TOPDIR}/mk/pkg-bottom.mk