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