]> git.ipfire.org Git - ipfire-3.x.git/blobdiff - pcre/pcre.nm
nettle: Update to 3.4.1
[ipfire-3.x.git] / pcre / pcre.nm
index 5dd980fbb9e197ac104adaec7e3937844836e5c2..cc845faf2d8a29b88369b968995f2e41e9122d41 100644 (file)
@@ -4,8 +4,8 @@
 ###############################################################################
 
 name       = pcre
-version    = 8.20
-release    = 1
+version    = 8.41
+release    = 2
 
 groups     = System/Libraries
 url        = http://www.pcre.org/
@@ -24,7 +24,6 @@ build
        requires
                bzip2-devel
                gcc-c++
-               pkg-config
                readline-devel
                zlib-devel
        end
@@ -32,15 +31,17 @@ build
        configure_options += \
                --disable-static \
                --docdir=/usr/share/doc/pcre-%{version} \
-               --enable-utf8 \
-               --enable-pcregrep-libz \
-               --enable-pcregrep-libbz2 \
-               --enable-unicode-properties
-
-       install_cmds
-               mkdir -pv %{BUILDROOT}/{,usr/}lib
-               mv -v %{BUILDROOT}/usr/lib/libpcre.so.* %{BUILDROOT}/lib/
-               ln -v -sf ../../lib/libpcre.so.0 %{BUILDROOT}/usr/lib/libpcre.so
+               --enable-jit \
+               --enable-pcre8 \
+               --enable-pcre16 \
+               --enable-pcre32 \
+               --enable-utf \
+               --enable-unicode-properties \
+               --enable-pcretest-libreadline
+
+       test
+               export LD_LIBRARY_PATH=$(pwd)/.libs
+               make check
        end
 end