New package: pcre2-10.22

This commit is contained in:
Enno Boland 2016-09-22 13:08:01 +02:00
parent 4cc280fe32
commit 7a22657fae
4 changed files with 52 additions and 0 deletions

View File

@ -2646,3 +2646,8 @@ libpayeeidentifier_iban_bic.so.4 kmymoney-4.8.0_1
libkmm_payeeidentifier.so kmymoney-4.8.0_1
libbotan-1.10.so.1 botan-1.10.13_1
libswipl.so.7.2 swi-prolog-7.2.3_5
libpcre2-16.so.0 libpcre2-10.22_1
libpcre2-32.so.0 libpcre2-10.22_1
libpcre2-8.so.0 libpcre2-10.22_1
libpcre2-posix.so.1 libpcre2-10.22_1

1
srcpkgs/libpcre2 Symbolic link
View File

@ -0,0 +1 @@
pcre2

1
srcpkgs/pcre2-devel Symbolic link
View File

@ -0,0 +1 @@
pcre2

45
srcpkgs/pcre2/template Normal file
View File

@ -0,0 +1,45 @@
# Template file for 'pcre2'
pkgname=pcre2
version=10.22
revision=1
build_style=gnu-configure
configure_args="--with-pic --enable-pcre2-16 --enable-pcre2-32
--enable-pcre2test-libreadline --enable-pcre2grep-libz --enable-pcre2grep-libbz2
--enable-newline-is-anycrlf --enable-jit --enable-static"
hostmakedepends="automake libtool"
makedepends="zlib-devel bzip2-devel libedit-devel readline-devel"
short_desc="Perl Compatible Regular Expressions (2nd version)"
maintainer="Enno Boland <gottox@voidlinux.eu>"
homepage="http://www.pcre.org/"
license="BSD"
distfiles="ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/pcre2-${version}.tar.bz2"
checksum=b2b44619f4ac6c50ad74c2865fd56807571392496fae1c9ad7a70993d018f416
post_install() {
vlicense LICENCE
}
pre_configure() {
autoreconf -fi
}
libpcre2_package() {
short_desc+=" - shared libraries"
pkg_install() {
vmove "usr/lib/*.so.*"
}
}
pcre2-devel_package() {
depends="zlib-devel bzip2-devel libpcre2>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove "usr/lib/*.a"
vmove "usr/lib/*.so"
vmove usr/lib/pkgconfig
vmove usr/share/man/man3
vmove usr/share/doc
vmove usr/bin/pcre2-config
}
}