]> git.ipfire.org Git - people/ms/ipfire-3.x.git/blob - pcre/pcre.nm
chrony: Only the main package belongs to Base group.
[people/ms/ipfire-3.x.git] / pcre / pcre.nm
1 ###############################################################################
2 # IPFire.org - An Open Source Firewall Solution #
3 # Copyright (C) - IPFire Development Team <info@ipfire.org> #
4 ###############################################################################
5
6 name = pcre
7 version = 8.13
8 release = 1
9
10 groups = System/Libraries
11 url = http://www.pcre.org/
12 license = BSD
13 summary = Perl-compatible regular expression library.
14
15 description
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.
19 end
20
21 source_dl = ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/
22
23 build
24 requires
25 bzip2-devel
26 gcc-c++
27 pkg-config
28 readline-devel
29 zlib-devel
30 end
31
32 configure_options += \
33 --docdir=/usr/share/doc/pcre-%{version} \
34 --enable-utf8 \
35 --enable-pcregrep-libz \
36 --enable-pcregrep-libbz2 \
37 --enable-unicode-properties
38
39 install_cmds
40 mkdir -pv %{BUILDROOT}/{,usr/}lib
41 mv -v %{BUILDROOT}/usr/lib/libpcre.so.* %{BUILDROOT}/lib/
42 ln -v -sf ../../lib/libpcre.so.0 %{BUILDROOT}/usr/lib/libpcre.so
43 end
44 end
45
46 packages
47 package %{name}
48
49 package %{name}-devel
50 template DEVEL
51 end
52 end