wok-6.x diff libzip/receipt @ rev 22577

updated cabextract (1.9 -> 1.9.1)
author Hans-G?nter Theisgen
date Mon Jan 06 16:52:55 2020 +0100 (2020-01-06)
parents 8b25fb7e14d8
children 779187465f62
line diff
     1.1 --- a/libzip/receipt	Mon Jan 29 17:58:54 2018 +0100
     1.2 +++ b/libzip/receipt	Mon Jan 06 16:52:55 2020 +0100
     1.3 @@ -1,31 +1,36 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="libzip"
     1.7 -VERSION="1.4.0"
     1.8 +VERSION="1.5.2"
     1.9  CATEGORY="misc"
    1.10  SHORT_DESC="C library for reading, creating, and modifying zip archives."
    1.11  MAINTAINER="pascal.bellard@slitaz.org"
    1.12  LICENSE="BSD"
    1.13 +WEB_SITE="https://libzip.org/"
    1.14 +
    1.15  TARBALL="$PACKAGE-$VERSION.tar.xz"
    1.16 -WEB_SITE="http://www.nih.at/libzip/"
    1.17 -WGET_URL="${WEB_SITE}$TARBALL"
    1.18 +WGET_URL="${WEB_SITE}download/$TARBALL"
    1.19 +
    1.20 +DEPENDS="zlib"
    1.21 +BUILD_DEPENDS="cmake zlib-dev"
    1.22 +
    1.23  HOST_ARCH="i486 arm"
    1.24  
    1.25 -BUILD_DEPENDS="zlib-dev cmake"
    1.26 -DEPENDS="zlib"
    1.27 -
    1.28  # Rules to configure and make the package.
    1.29  compile_rules()
    1.30  {
    1.31 -	mkdir build && cd build &&
    1.32 +	mkdir	build &&
    1.33 +	cd	build &&
    1.34  	cmake -DCMAKE_INSTALL_PREFIX=/usr .. &&
    1.35 -	make && make -j 1 install
    1.36 +	make -j 1 &&
    1.37 +	make -j 1 install
    1.38  }
    1.39  
    1.40  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.41  genpkg_rules()
    1.42  {
    1.43  	mkdir -p $fs/usr/lib
    1.44 -	cp -a $install/usr/bin $fs/usr
    1.45 -	cp -a $install/usr/lib/*.so* $fs/usr/lib
    1.46 +
    1.47 +	cp -a $install/usr/bin		$fs/usr
    1.48 +	cp -a $install/usr/lib/*.so*	$fs/usr/lib
    1.49  }