pcre: remove long_desc; cross build support.

This commit is contained in:
Juan RP 2013-02-07 00:45:59 +01:00
parent e409d2ea2d
commit ac8396c0dd
4 changed files with 12 additions and 19 deletions

View File

@ -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() {

View File

@ -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

View File

@ -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

View File

@ -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 <xtraeme@gmail.com>"
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