]> git.ipfire.org Git - ipfire-3.x.git/blob - pcre/pcre.nm
json-c: Update to version 0.17-20230812
[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.45
8 release = 1.1
9
10 groups = System/Libraries
11 url = http://www.pcre.org/
12 license = BSD
13 summary = Perl-compatible regular expression library.
14
15 description
16 Perl-compatible regular expression library. PCRE has its own native
17 API, but a set of "wrapper" functions that are based on the POSIX
18 API are also supplied in the library libpcreposix.
19 end
20
21 source_dl = https://sourceforge.net/projects/pcre/files/pcre/%{version}/
22
23 build
24 requires
25 bzip2-devel
26 gcc-c++
27 readline-devel
28 zlib-devel
29 end
30
31 configure_options += \
32 --disable-static \
33 --docdir=/usr/share/doc/pcre-%{version} \
34 --enable-jit \
35 --enable-pcre8 \
36 --enable-pcre16 \
37 --enable-pcre32 \
38 --enable-utf \
39 --enable-unicode-properties \
40 --enable-pcretest-libreadline
41
42 test
43 export LD_LIBRARY_PATH=$(pwd)/.libs
44 make check
45 end
46 end
47
48 packages
49 package %{name}
50
51 package %{name}-devel
52 template DEVEL
53 end
54
55 package %{name}-debuginfo
56 template DEBUGINFO
57 end
58 end