From 219a6dab8995aad9ac4860cc1a84d6f3509a03a4 Mon Sep 17 00:00:00 2001 From: wbx Date: Sun, 17 May 2009 14:41:34 +0200 Subject: Initial import --- package/pcre/Config.in | 15 +++++++++++++++ package/pcre/Makefile | 37 +++++++++++++++++++++++++++++++++++++ package/pcre/ipkg/libpcre.control | 4 ++++ 3 files changed, 56 insertions(+) create mode 100644 package/pcre/Config.in create mode 100644 package/pcre/Makefile create mode 100644 package/pcre/ipkg/libpcre.control (limited to 'package/pcre') diff --git a/package/pcre/Config.in b/package/pcre/Config.in new file mode 100644 index 000000000..955cd3ca4 --- /dev/null +++ b/package/pcre/Config.in @@ -0,0 +1,15 @@ +config ADK_COMPILE_PCRE + tristate + default n + depends ADK_PACKAGE_LIBPCRE + +config ADK_PACKAGE_LIBPCRE + prompt "libpcre........................... A Perl Compatible Regular Expression library" + tristate + default n + select ADK_COMPILE_PCRE + help + A Perl Compatible Regular Expression library + + http://www.pcre.org/ + diff --git a/package/pcre/Makefile b/package/pcre/Makefile new file mode 100644 index 000000000..2a24199ff --- /dev/null +++ b/package/pcre/Makefile @@ -0,0 +1,37 @@ +# $Id$ +#- +# This file is part of the OpenADK project. OpenADK is copyrighted +# material, please see the LICENCE file in the top-level directory. + +include ${TOPDIR}/rules.mk + +PKG_NAME:= pcre +PKG_VERSION:= 7.2 +PKG_RELEASE:= 1 +PKG_MD5SUM:= 5ca11a81b753de24fb87ddc872ccaa67 +MASTER_SITES:= ${MASTER_SITE_SOURCEFORGE:=pcre/} + +include ${TOPDIR}/mk/package.mk + +$(eval $(call PKG_template,LIBPCRE,libpcre,${PKG_VERSION}-${PKG_RELEASE},${ARCH})) + +CONFIGURE_STYLE:= gnu +CONFIGURE_ARGS+= --enable-utf8 +# C++ support uses libstdc++ not uClibc++ so disable it +CONFIGURE_ARGS+= --disable-cpp +BUILD_STYLE:= auto +INSTALL_STYLE:= auto +XAKE_FLAGS+= ${TARGET_CONFIGURE_OPTS} CFLAGS='${TCFLAGS}' + +#pre-build: +# ${MAKE} -C '${WRKBUILD}' \ +# CC_FOR_BUILD='${HOSTCC}' \ +# LINK_FOR_BUILD='${HOSTCC}' \ +# CFLAGS_FOR_BUILD='${HOSTCFLAGS}' \ +# dftables + +post-install: + ${INSTALL_DIR} ${IDIR_LIBPCRE}/usr/lib + ${CP} ${WRKINST}/usr/lib/libpcre{,posix}.so.* ${IDIR_LIBPCRE}/usr/lib/ + +include ${TOPDIR}/mk/pkg-bottom.mk diff --git a/package/pcre/ipkg/libpcre.control b/package/pcre/ipkg/libpcre.control new file mode 100644 index 000000000..797453eab --- /dev/null +++ b/package/pcre/ipkg/libpcre.control @@ -0,0 +1,4 @@ +Package: libpcre +Priority: optional +Section: libs +Description: a Perl Compatible Regular Expression library -- cgit v1.2.3