]> git.ipfire.org Git - people/ms/ipfire-3.x.git/blob - pcre/pcre.nm
grep: Update to 2.16.
[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.34
8 release = 1
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 test
52 make check
53
54 cd %{DIR_SRC}/%{name}-%{compat_version}
55 make check
56 end
57
58 install_cmds
59 cd %{DIR_SRC}/%{name}-%{compat_version}
60 install -m 755 .libs/libpcre.so.0.0.1 %{BUILDROOT}%{libdir}
61 ln -svf libpcre.so.0.0.1 %{BUILDROOT}%{libdir}/libpcre.so.0
62 end
63 end
64
65 packages
66 package %{name}
67
68 package %{name}-devel
69 template DEVEL
70 end
71
72 package %{name}-compat
73 summary = Compat libraries of %{thisapp}.
74
75 files
76 %{libdir}/libpcre.so.0*
77 end
78 end
79
80 package %{name}-debuginfo
81 template DEBUGINFO
82 end
83 end