]> git.ipfire.org Git - people/ms/ipfire-3.x.git/blob - pcre/pcre.nm
065754b640afd3b9597bfa4e5f3b5db879d5a0d7
[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.31
8 release = 2
9
10 compat_version = 8.21
11
12 groups = System/Libraries
13 url = http://www.pcre.org/
14 license = BSD
15 summary = Perl-compatible regular expression library.
16
17 description
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.
21 end
22
23 source_dl = ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/
24 sources += %{name}-%{compat_version}.tar.gz
25
26 build
27 requires
28 bzip2-devel
29 gcc-c++
30 readline-devel
31 zlib-devel
32 end
33
34 configure_options += \
35 --disable-static \
36 --docdir=/usr/share/doc/pcre-%{version} \
37 --enable-utf8 \
38 --enable-jit \
39 --enable-pcregrep-libz \
40 --enable-pcregrep-libbz2 \
41 --enable-unicode-properties
42
43 build_cmds
44 cd %{DIR_SRC}/%{name}-%{compat_version}
45 ./configure \
46 %{configure_options}
47
48 make %{PARALLELISMFLAGS}
49 end
50
51 install_cmds
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
55 end
56 end
57
58 packages
59 package %{name}
60
61 package %{name}-devel
62 template DEVEL
63 end
64
65 package %{name}-compat
66 summary = Compat libraries of %{thisapp}.
67
68 files
69 %{libdir}/libpcre.so.0*
70 end
71 end
72
73 package %{name}-debuginfo
74 template DEBUGINFO
75 end
76 end