diff --git a/srcpkgs/pcre/libpcre.template b/srcpkgs/pcre/libpcre.template index 6eb193d0b4f..d40bc2d974f 100644 --- a/srcpkgs/pcre/libpcre.template +++ b/srcpkgs/pcre/libpcre.template @@ -1,10 +1,6 @@ # Template file for 'libpcre'. # short_desc="${short_desc} - shared libraries" -long_desc="${long_desc} - - This package contains the shared libraries for use in client programs." - replaces="pcre<8.11" do_install() { diff --git a/srcpkgs/pcre/libpcrecpp.template b/srcpkgs/pcre/libpcrecpp.template index a840c2207d6..68b5113ea49 100644 --- a/srcpkgs/pcre/libpcrecpp.template +++ b/srcpkgs/pcre/libpcrecpp.template @@ -1,10 +1,6 @@ # Template file for 'libpcrecpp'. # short_desc="${short_desc} - C++ shared libraries" -long_desc="${long_desc} - - This package contains the C++ shared library for use in - client programs." do_install() { vmove "usr/lib/libpcrecpp.so*" usr/lib diff --git a/srcpkgs/pcre/pcre-devel.template b/srcpkgs/pcre/pcre-devel.template index f0f301cf9e2..3b6fbb32f54 100644 --- a/srcpkgs/pcre/pcre-devel.template +++ b/srcpkgs/pcre/pcre-devel.template @@ -3,9 +3,6 @@ noarch=yes depends="zlib-devel bzip2-devel libpcre>=${version} libpcrecpp>=${version}" short_desc="${short_desc} (development files)" -long_desc="${long_desc} - - This package contains files for development, headers, static libs, etc." do_install() { vmove usr/bin/pcre-config usr/bin diff --git a/srcpkgs/pcre/template b/srcpkgs/pcre/template index 6c33365a6e5..b5496eaa72b 100644 --- a/srcpkgs/pcre/template +++ b/srcpkgs/pcre/template @@ -1,23 +1,27 @@ # Template file for 'pcre' pkgname=pcre version=8.32 -revision=1 +revision=2 subpackages="libpcre libpcrecpp pcre-devel" build_style=gnu-configure configure_args="--enable-utf8 --enable-unicode-properties --with-pic --enable-pcregrep-libz --enable-pcregrep-libbz2 --enable-newline-is-anycrlf --enable-pcretest-libreadline --disable-pcregrep-jit --enable-jit --disable-static" -makedepends="zlib-devel readline-devel" +makedepends="zlib-devel bzip2-devel readline-devel" +crossmakedepends="${makedepends}" short_desc="Perl Compatible Regular Expressions" maintainer="Juan RP " homepage="http://www.pcre.org/" license="BSD" distfiles="${SOURCEFORGE_SITE}/pcre/pcre-$version.tar.bz2" checksum=a913fb9bd058ef380a2d91847c3c23fcf98e92dc3b47cd08a53c021c5cde0f55 -long_desc=" - The PCRE library is a set of functions that implement regular expression - pattern matching using the same syntax and semantics as Perl 5. PCRE - has its own native API, as well as a set of wrapper functions that - correspond to the POSIX regular expression API. The PCRE library is free, - even for building commercial software." + +if [ "$XBPS_CROSS_TRIPLET" ]; then + makedepends="automake ${makedepends}" + +pre_configure() { + autoreconf -fi +} + +fi