1 ###############################################################################
2 # IPFire.org - An Open Source Firewall Solution #
3 # Copyright (C) - IPFire Development Team <info@ipfire.org> #
4 ###############################################################################
10 groups = System/Libraries
11 url = http://www.pcre.org/
13 summary = Perl-compatible regular expression library.
16 Perl-compatible regular expression library. PCRE has its own native
17 API, but a set of "wrapper" functions that are based on the POSIX
18 API are also supplied in the library libpcreposix.
21 source_dl = ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/
32 configure_options += \
34 --docdir=/usr/share/doc/pcre-%{version} \
36 --enable-pcregrep-libz \
37 --enable-pcregrep-libbz2 \
38 --enable-unicode-properties
41 mkdir -pv %{BUILDROOT}/{,usr/}lib
42 mv -v %{BUILDROOT}/usr/lib/libpcre.so.* %{BUILDROOT}/lib/
43 ln -v -sf ../../lib/libpcre.so.0 %{BUILDROOT}/usr/lib/libpcre.so
54 package %{name}-debuginfo