]> git.ipfire.org Git - people/ms/ipfire-3.x.git/blobdiff - pcre/pcre.nm
pcre: Update to 8.34.
[people/ms/ipfire-3.x.git] / pcre / pcre.nm
index 9615bb355c7ed194a4300b55cec38bf5909824a8..f25f1304de9d7e37010baadf6c85e3464b2fa675 100644 (file)
@@ -4,8 +4,8 @@
 ###############################################################################
 
 name       = pcre
-version    = 8.30
-release    = 1
+version    = 8.34
+release    = 2
 
 compat_version = 8.21
 
@@ -34,11 +34,13 @@ build
        configure_options += \
                --disable-static \
                --docdir=/usr/share/doc/pcre-%{version} \
-               --enable-utf8 \
                --enable-jit \
-               --enable-pcregrep-libz \
-               --enable-pcregrep-libbz2 \
-               --enable-unicode-properties
+               --enable-pcre8 \
+               --enable-pcre16 \
+               --enable-pcre32 \
+               --enable-utf \
+               --enable-unicode-properties \
+               --enable-pcretest-libreadline
 
        build_cmds
                cd %{DIR_SRC}/%{name}-%{compat_version}
@@ -48,10 +50,17 @@ build
                make %{PARALLELISMFLAGS}
        end
 
+       test
+               make check
+
+               cd %{DIR_SRC}/%{name}-%{compat_version}
+               make check
+       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
+               install -m 755 .libs/libpcre.so.0.0.1 %{BUILDROOT}%{libdir}
+               ln -svf libpcre.so.0.0.1 %{BUILDROOT}%{libdir}/libpcre.so.0
        end
 end