wok rev 20181

Update some compressors (again)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Jan 29 17:58:54 2018 +0100 (2018-01-29)
parents 35a23f513b71
children d31e573c32ca
files brotli/receipt libzim/receipt libzip-dev/receipt libzip/receipt lz4/receipt
line diff
     1.1 --- a/brotli/receipt	Mon Jan 29 16:42:42 2018 +0100
     1.2 +++ b/brotli/receipt	Mon Jan 29 17:58:54 2018 +0100
     1.3 @@ -18,13 +18,14 @@
     1.4  compile_rules()
     1.5  {
     1.6  	cmake .
     1.7 -	make bro
     1.8 +	make
     1.9  }
    1.10  
    1.11  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.12  genpkg_rules()
    1.13  {
    1.14  	mkdir -p $fs/usr/bin $fs/usr/lib
    1.15 -	cp -a $src/bro $fs/usr/bin/
    1.16 +	cp -a $src/brotli $fs/usr/bin/
    1.17 +	ln -s brotli $fs/usr/bin/bro
    1.18  	cp -a $src/*.so* $fs/usr/lib
    1.19  }
     2.1 --- a/libzim/receipt	Mon Jan 29 16:42:42 2018 +0100
     2.2 +++ b/libzim/receipt	Mon Jan 29 17:58:54 2018 +0100
     2.3 @@ -9,7 +9,7 @@
     2.4  LICENSE="GPL2"
     2.5  TARBALL="$SOURCE-$VERSION.tar.gz"
     2.6  WEB_SITE="http://www.openzim.org/wiki/Zimlib"
     2.7 -WGET_URL="http://www.openzim.org/download/$TARBALL"
     2.8 +WGET_URL="http://download.openzim.org/archive/$TARBALL"
     2.9  
    2.10  DEPENDS="liblzma"
    2.11  BUILD_DEPENDS="xz-dev autoconf automake libtool"
     3.1 --- a/libzip-dev/receipt	Mon Jan 29 16:42:42 2018 +0100
     3.2 +++ b/libzip-dev/receipt	Mon Jan 29 17:58:54 2018 +0100
     3.3 @@ -17,7 +17,5 @@
     3.4  {
     3.5  	mkdir -p $fs/usr/lib
     3.6  	cp -a $install/usr/include $fs/usr
     3.7 -	cp -a $install/usr/lib/*a $fs/usr/lib
     3.8 -	cp -a $install/usr/lib/libzip $fs/usr/lib
     3.9  	cp -a $install/usr/lib/pkgconfig $fs/usr/lib
    3.10  }
     4.1 --- a/libzip/receipt	Mon Jan 29 16:42:42 2018 +0100
     4.2 +++ b/libzip/receipt	Mon Jan 29 17:58:54 2018 +0100
     4.3 @@ -11,15 +11,14 @@
     4.4  WGET_URL="${WEB_SITE}$TARBALL"
     4.5  HOST_ARCH="i486 arm"
     4.6  
     4.7 -BUILD_DEPENDS="zlib-dev"
     4.8 +BUILD_DEPENDS="zlib-dev cmake"
     4.9  DEPENDS="zlib"
    4.10  
    4.11  # Rules to configure and make the package.
    4.12  compile_rules()
    4.13  {
    4.14 -	./configure \
    4.15 -		--prefix=/usr \
    4.16 -		$CONFIGURE_ARGS &&
    4.17 +	mkdir build && cd build &&
    4.18 +	cmake -DCMAKE_INSTALL_PREFIX=/usr .. &&
    4.19  	make && make -j 1 install
    4.20  }
    4.21  
     5.1 --- a/lz4/receipt	Mon Jan 29 16:42:42 2018 +0100
     5.2 +++ b/lz4/receipt	Mon Jan 29 17:58:54 2018 +0100
     5.3 @@ -17,7 +17,7 @@
     5.4  compile_rules()
     5.5  {
     5.6  	find -type f | xargs sed -i 's|usr/local|usr|'
     5.7 -	make && make DESTDIR=$DESTDIR install
     5.8 +	make LDFLAGS="$LDFLAGS -lrt" && make DESTDIR=$DESTDIR install
     5.9  }
    5.10  
    5.11  # Rules to gen a SliTaz package suitable for Tazpkg.