]> 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 1875f29260b4db016d88d828498f465fcb7739b4..cc845faf2d8a29b88369b968995f2e41e9122d41 100644 (file)
@@ -4,7 +4,7 @@
 ###############################################################################
 
 name       = pcre
-version    = 8.21
+version    = 8.41
 release    = 2
 
 groups     = System/Libraries
@@ -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}%{libdir}/libpcre.so.* %{BUILDROOT}/%{lib}
-               ln -v -sf ../../%{lib}/libpcre.so.0 %{BUILDROOT}%{libdir}/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