]> git.ipfire.org Git - people/amarx/ipfire-3.x.git/blame - compat-pcre/compat-pcre.nm
icecream: Remove package
[people/amarx/ipfire-3.x.git] / compat-pcre / compat-pcre.nm
CommitLineData
2979fbcc
SS
1###############################################################################
2# IPFire.org - An Open Source Firewall Solution #
3# Copyright (C) - IPFire Development Team <info@ipfire.org> #
4###############################################################################
5
6name = compat-pcre
7version = 8.21
8release = 1
9
10thisapp = pcre-%{version}
11
12groups = System/Libraries
13url = http://www.pcre.org/
14license = BSD
15summary = Perl-compatible regular expression library.
16
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
20 API are also supplied in the library libpcreposix.
21end
22
23source_dl = http://sourceforge.net/projects/pcre/files/pcre/%{version}/
24
25build
26 requires
27 bzip2-devel
28 gcc-c++
29 readline-devel
30 zlib-devel
31 end
32
33 configure_options += \
34 --disable-static \
35 --docdir=/usr/share/doc/pcre-%{version} \
36 --disable-jit \
37 --enable-pcre8 \
38 --enable-pcre16 \
39 --enable-pcre32 \
40 --enable-utf \
41 --enable-unicode-properties \
42 --enable-pcretest-libreadline
43
44 test
45 make check
46 end
47
48 install
49 # Only install libraries.
50 mkdir -pv %{BUILDROOT}%{libdir}
51 install -m 755 .libs/libpcre.so.0.0.1 %{BUILDROOT}%{libdir}
52 ln -svf libpcre.so.0.0.1 %{BUILDROOT}%{libdir}/libpcre.so.0
53 end
54end
55
56packages
57 package %{name}
58 provides
59 pcre = %{thisver}
60 end
61
62 obsoletes
63 pcre-compat
64 end
65
66 conflicts
67 pcre <= %{thisver}
68 end
69 end
70
71 package %{name}-debuginfo
72 template DEBUGINFO
73 end
74end