1 ###############################################################################
2 # IPFire.org - An Open Source Firewall Solution #
3 # Copyright (C) - IPFire Development Team <info@ipfire.org> #
4 ###############################################################################
12 groups = System/Libraries
13 url = http://www.pcre.org/
15 summary = Perl-compatible regular expression library.
18 Perl-compatible regular expression library. PCRE has its own native
19 API, but a set of "wrapper" functions that are based on the POSIX
20 API are also supplied in the library libpcreposix.
23 source_dl = ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/
24 sources += %{name}-%{compat_version}.tar.gz
34 configure_options += \
36 --docdir=/usr/share/doc/pcre-%{version} \
39 --enable-pcregrep-libz \
40 --enable-pcregrep-libbz2 \
41 --enable-unicode-properties
44 cd %{DIR_SRC}/%{name}-%{compat_version}
48 make %{PARALLELISMFLAGS}
52 cd %{DIR_SRC}/%{name}-%{compat_version}
53 install -m 755 .libs/libpcre.so.0.0.1 %{BUILDROOT}%{libdir}
54 ln -svf libpcre.so.0.0.1 %{BUILDROOT}%{libdir}/libpcre.so.0
65 package %{name}-compat
66 summary = Compat libraries of %{thisapp}.
69 %{libdir}/libpcre.so.0*
73 package %{name}-debuginfo