void-packages/srcpkgs/pcre/template

59 lines
1.4 KiB
Plaintext
Raw Normal View History

# Template file for 'pcre'
pkgname=pcre
2013-05-29 08:37:39 +02:00
version=8.33
revision=1
build_style=gnu-configure
configure_args="--enable-utf8 --enable-unicode-properties --with-pic
--enable-pcregrep-libz --enable-pcregrep-libbz2 --enable-newline-is-anycrlf
2013-05-29 08:37:39 +02:00
--enable-pcretest-libreadline --enable-jit --disable-static"
makedepends="zlib-devel bzip2-devel readline-devel"
short_desc="Perl Compatible Regular Expressions"
maintainer="Juan RP <xtraeme@gmail.com>"
2011-08-18 09:46:08 +02:00
homepage="http://www.pcre.org/"
license="BSD"
2013-05-29 08:37:39 +02:00
#distfiles="${SOURCEFORGE_SITE}/pcre/pcre-$version.tar.gz"
distfiles="ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/pcre-${version}.tar.bz2"
checksum=c603957a4966811c04af5f6048c71cfb4966ec93312d7b3118116ed9f3bc0478
if [ "$CROSS_BUILD" ]; then
2013-04-23 14:24:58 +02:00
hostmakedepends="libtool automake"
pre_configure() {
autoreconf -fi
}
fi
libpcrecpp_package() {
short_desc+=" - C++ shared libraries"
pkg_install() {
vmove "usr/lib/libpcrecpp.so*"
}
}
libpcre_package() {
2013-05-29 08:37:39 +02:00
short_desc+=" - shared libraries"
replaces="pcre<8.11"
pkg_install() {
vmove "usr/lib/libpcre.so*"
vmove "usr/lib/libpcreposix.so*"
}
}
pcre-devel_package() {
depends="zlib-devel bzip2-devel libpcre>=${version} libpcrecpp>=${version}"
2013-05-29 08:37:39 +02:00
short_desci+=" - development files"
pkg_install() {
vmove usr/bin/pcre-config
vmove usr/include
vmove usr/lib/pkgconfig
vmove usr/share/man/man1/pcre-config.1
vmove usr/share/man/man3
vmove usr/share/doc
}
}
pcre_package() {
pkg_install() {
vmove usr
}
}