]> git.ipfire.org Git - people/stevee/ipfire-3.x.git/blobdiff - bzip2/bzip2.nm
bzip2: Update to 1.0.8
[people/stevee/ipfire-3.x.git] / bzip2 / bzip2.nm
index 4660dc7ad5917ef983331629e24cc6d93b0ba354..adab756581db2c0e4c72925acb75a5263fb441c1 100644 (file)
@@ -4,31 +4,23 @@
 ###############################################################################
 
 name       = bzip2
-version    = 1.0.6
-release    = 7
+version    = 1.0.8
+release    = 1
 
 groups     = Applications/Compression
-url        = http://www.bzip.org/
+url        = https://sourceware.org/bzip2/
 license    = GPLv2+
-summary    = Bzip2 is a data compressor.
+summary    = Bzip2 is a data compressor
 
 description
        bzip2 is a freely available, patent free (see below), high-quality data
        compressor that is an alternative to the GNU zip compressor.
 end
 
-source_dl  = http://www.bzip.org/%{version}/
-
-CFLAGS    += -fPIC -D_FILE_OFFSET_BITS=64
+source_dl  = https://sourceware.org/pub/bzip2/
 
 build
-       prepare_cmds
-               sed -i 's@\(ln -s -f \)\$(PREFIX)/bin/@\1@' Makefile
-               sed -e "s/\$(CC) -shared/& %{CFLAGS}/" -i Makefile-libbz2_so
-       end
-
        build
-               %{DO_FIX_LIBTOOL}
                make -f Makefile-libbz2_so %{PARALLELISMFLAGS} \
                        CFLAGS="%{CFLAGS}" LDFLAGS="%{LDFLAGS}"
 
@@ -70,13 +62,9 @@ end
 
 packages
        package %{name}
-               groups += Build
 
-               # Provide older soname to fix problem with
-               # older version of the package.
-               if "%{DISTRO_ARCH}" == "i686"
-                       provides += libbz2.so.1.0
-               end
+       package %{name}-libs
+               template LIBS
        end
 
        package %{name}-devel