]> git.ipfire.org Git - ipfire-3.x.git/blame - pcre/pcre.nm
pcre: Update to 8.30.
[ipfire-3.x.git] / pcre / pcre.nm
CommitLineData
85122efe 1###############################################################################
802ea3af
MT
2# IPFire.org - An Open Source Firewall Solution #
3# Copyright (C) - IPFire Development Team <info@ipfire.org> #
85122efe
MT
4###############################################################################
5
802ea3af 6name = pcre
383de0c6
MT
7version = 8.30
8release = 1
9
10compat_version = 8.21
85122efe 11
802ea3af
MT
12groups = System/Libraries
13url = http://www.pcre.org/
14license = BSD
15summary = Perl-compatible regular expression library.
85122efe 16
802ea3af
MT
17description
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
85122efe 20 API are also supplied in the library libpcreposix.
802ea3af
MT
21end
22
6d3b56d0 23source_dl = ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/
383de0c6 24sources += %{name}-%{compat_version}.tar.gz
802ea3af
MT
25
26build
27 requires
28 bzip2-devel
29 gcc-c++
802ea3af
MT
30 readline-devel
31 zlib-devel
32 end
33
34 configure_options += \
21d4da18 35 --disable-static \
802ea3af
MT
36 --docdir=/usr/share/doc/pcre-%{version} \
37 --enable-utf8 \
383de0c6 38 --enable-jit \
802ea3af
MT
39 --enable-pcregrep-libz \
40 --enable-pcregrep-libbz2 \
41 --enable-unicode-properties
42
383de0c6
MT
43 build_cmds
44 cd %{DIR_SRC}/%{name}-%{compat_version}
45 ./configure \
46 %{configure_options}
47
48 make %{PARALLELISMFLAGS}
49 end
50
802ea3af 51 install_cmds
383de0c6
MT
52 cd %{DIR_SRC}/%{name}-%{compat_version}
53 install -m 644 .libs/libpcre.so.0.0.1 %{BUILDROOT}%{libdir}
54 ln -svf libpcre.so.0.0.1 %{BUILDROOT}%{libdir}/libprce.so.0
802ea3af
MT
55 end
56end
57
58packages
59 package %{name}
6d3b56d0 60
802ea3af
MT
61 package %{name}-devel
62 template DEVEL
63 end
1f9bc2f0 64
383de0c6
MT
65 package %{name}-compat
66 summary = Compat libraries of %{thisapp}.
67
68 files
69 %{libdir}/libpcre.so.0*
70 end
71 end
72
1f9bc2f0
MT
73 package %{name}-debuginfo
74 template DEBUGINFO
75 end
802ea3af 76end