]> git.ipfire.org Git - people/ms/ipfire-3.x.git/blame - pcre/pcre.nm
pcre: Update to 8.35.
[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
ad5390d0
MT
7version = 8.35
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 36 --docdir=/usr/share/doc/pcre-%{version} \
383de0c6 37 --enable-jit \
62d3a8e7
MT
38 --enable-pcre8 \
39 --enable-pcre16 \
40 --enable-pcre32 \
41 --enable-utf \
42 --enable-unicode-properties \
43 --enable-pcretest-libreadline
802ea3af 44
383de0c6
MT
45 build_cmds
46 cd %{DIR_SRC}/%{name}-%{compat_version}
47 ./configure \
48 %{configure_options}
49
50 make %{PARALLELISMFLAGS}
51 end
52
b99f56d7
MT
53 test
54 make check
55
56 cd %{DIR_SRC}/%{name}-%{compat_version}
57 make check
58 end
59
802ea3af 60 install_cmds
383de0c6 61 cd %{DIR_SRC}/%{name}-%{compat_version}
17fdd6ec 62 install -m 755 .libs/libpcre.so.0.0.1 %{BUILDROOT}%{libdir}
0a8ad870 63 ln -svf libpcre.so.0.0.1 %{BUILDROOT}%{libdir}/libpcre.so.0
802ea3af
MT
64 end
65end
66
67packages
68 package %{name}
6d3b56d0 69
802ea3af
MT
70 package %{name}-devel
71 template DEVEL
72 end
1f9bc2f0 73
383de0c6
MT
74 package %{name}-compat
75 summary = Compat libraries of %{thisapp}.
76
77 files
78 %{libdir}/libpcre.so.0*
79 end
80 end
81
1f9bc2f0
MT
82 package %{name}-debuginfo
83 template DEBUGINFO
84 end
802ea3af 85end