]> 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 9615bb355c7ed194a4300b55cec38bf5909824a8..cc845faf2d8a29b88369b968995f2e41e9122d41 100644 (file)
@@ -4,10 +4,8 @@
 ###############################################################################
 
 name       = pcre
-version    = 8.30
-release    = 1
-
-compat_version = 8.21
+version    = 8.41
+release    = 2
 
 groups     = System/Libraries
 url        = http://www.pcre.org/
@@ -21,7 +19,6 @@ description
 end
 
 source_dl  = ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/
-sources   += %{name}-%{compat_version}.tar.gz
 
 build
        requires
@@ -34,24 +31,17 @@ build
        configure_options += \
                --disable-static \
                --docdir=/usr/share/doc/pcre-%{version} \
-               --enable-utf8 \
                --enable-jit \
-               --enable-pcregrep-libz \
-               --enable-pcregrep-libbz2 \
-               --enable-unicode-properties
-
-       build_cmds
-               cd %{DIR_SRC}/%{name}-%{compat_version}
-               ./configure \
-                       %{configure_options}
-
-               make %{PARALLELISMFLAGS}
-       end
-
-       install_cmds
-               cd %{DIR_SRC}/%{name}-%{compat_version}
-               install -m 644 .libs/libpcre.so.0.0.1 %{BUILDROOT}%{libdir}
-               ln -svf libpcre.so.0.0.1 %{BUILDROOT}%{libdir}/libprce.so.0
+               --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
 
@@ -62,14 +52,6 @@ packages
                template DEVEL
        end
 
-       package %{name}-compat
-               summary = Compat libraries of %{thisapp}.
-
-               files
-                       %{libdir}/libpcre.so.0*
-               end
-       end
-
        package %{name}-debuginfo
                template DEBUGINFO
        end