]>
Commit | Line | Data |
---|---|---|
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 | 6 | name = pcre |
21d4da18 | 7 | version = 8.20 |
6d3b56d0 | 8 | release = 1 |
85122efe | 9 | |
802ea3af MT |
10 | groups = System/Libraries |
11 | url = http://www.pcre.org/ | |
12 | license = BSD | |
13 | summary = Perl-compatible regular expression library. | |
85122efe | 14 | |
802ea3af MT |
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 | |
85122efe | 18 | API are also supplied in the library libpcreposix. |
802ea3af MT |
19 | end |
20 | ||
6d3b56d0 | 21 | source_dl = ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/ |
802ea3af MT |
22 | |
23 | build | |
24 | requires | |
25 | bzip2-devel | |
26 | gcc-c++ | |
27 | pkg-config | |
28 | readline-devel | |
29 | zlib-devel | |
30 | end | |
31 | ||
32 | configure_options += \ | |
21d4da18 | 33 | --disable-static \ |
802ea3af MT |
34 | --docdir=/usr/share/doc/pcre-%{version} \ |
35 | --enable-utf8 \ | |
36 | --enable-pcregrep-libz \ | |
37 | --enable-pcregrep-libbz2 \ | |
38 | --enable-unicode-properties | |
39 | ||
40 | install_cmds | |
41 | mkdir -pv %{BUILDROOT}/{,usr/}lib | |
42 | mv -v %{BUILDROOT}/usr/lib/libpcre.so.* %{BUILDROOT}/lib/ | |
43 | ln -v -sf ../../lib/libpcre.so.0 %{BUILDROOT}/usr/lib/libpcre.so | |
44 | end | |
45 | end | |
46 | ||
47 | packages | |
48 | package %{name} | |
6d3b56d0 | 49 | |
802ea3af MT |
50 | package %{name}-devel |
51 | template DEVEL | |
52 | end | |
53 | end |