Merge pull request #202 from xdave/master

pcre: enable static for glib static compilation.
This commit is contained in:
Juan RP 2013-10-29 22:37:27 -07:00
commit 944dd01f26
1 changed files with 7 additions and 5 deletions

View File

@ -1,11 +1,11 @@
# Template file for 'pcre'
pkgname=pcre
version=8.33
revision=1
revision=3
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 --enable-jit --disable-static"
--enable-pcretest-libreadline --enable-jit --enable-static"
makedepends="zlib-devel bzip2-devel readline-devel"
short_desc="Perl Compatible Regular Expressions"
maintainer="Juan RP <xtraeme@gmail.com>"
@ -25,7 +25,7 @@ fi
libpcrecpp_package() {
short_desc+=" - C++ shared libraries"
pkg_install() {
vmove "usr/lib/libpcrecpp.so*"
vmove "usr/lib/libpcrecpp.so.*"
}
}
@ -33,8 +33,8 @@ libpcre_package() {
short_desc+=" - shared libraries"
replaces="pcre<8.11"
pkg_install() {
vmove "usr/lib/libpcre.so*"
vmove "usr/lib/libpcreposix.so*"
vmove "usr/lib/libpcre.so.*"
vmove "usr/lib/libpcreposix.so.*"
}
}
@ -44,6 +44,8 @@ pcre-devel_package() {
pkg_install() {
vmove usr/bin/pcre-config
vmove usr/include
vmove "usr/lib/*.a"
vmove "usr/lib/*.so"
vmove usr/lib/pkgconfig
vmove usr/share/man/man1/pcre-config.1
vmove usr/share/man/man3