wok-current rev 21355

updated libzip and libzip-dev (1.4.0 -> 1.5.2)
author Hans-G?nter Theisgen
date Sun Apr 21 08:42:08 2019 +0100 (2019-04-21)
parents 4700d43dc494
children ea835222df2a
files libzip-dev/receipt libzip/receipt
line diff
     1.1 --- a/libzip-dev/receipt	Sun Apr 21 08:16:41 2019 +0100
     1.2 +++ b/libzip-dev/receipt	Sun Apr 21 08:42:08 2019 +0100
     1.3 @@ -1,21 +1,23 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="libzip-dev"
     1.7 -VERSION="1.4.0"
     1.8 +VERSION="1.5.2"
     1.9  CATEGORY="development"
    1.10 -SHORT_DESC="C library for reading, creating, and modifying zip archives, development files."
    1.11 +SHORT_DESC="C library for reading, creating, and modifying zip archives - development files."
    1.12  MAINTAINER="pascal.bellard@slitaz.org"
    1.13  LICENSE="BSD"
    1.14 -WEB_SITE="http://www.nih.at/libzip/"
    1.15 -WANTED="libzip"
    1.16 -HOST_ARCH="i486 arm"
    1.17 +WEB_SITE="https://libzip.org/"
    1.18  
    1.19  DEPENDS="libzip pkg-config"
    1.20 +WANTED="libzip"
    1.21 +
    1.22 +HOST_ARCH="i486 arm"
    1.23  
    1.24  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.25  genpkg_rules()
    1.26  {
    1.27  	mkdir -p $fs/usr/lib
    1.28 -	cp -a $install/usr/include $fs/usr
    1.29 -	cp -a $install/usr/lib/pkgconfig $fs/usr/lib
    1.30 +
    1.31 +	cp -a $install/usr/include		$fs/usr
    1.32 +	cp -a $install/usr/lib/pkgconfig	$fs/usr/lib
    1.33  }
     2.1 --- a/libzip/receipt	Sun Apr 21 08:16:41 2019 +0100
     2.2 +++ b/libzip/receipt	Sun Apr 21 08:42:08 2019 +0100
     2.3 @@ -1,31 +1,36 @@
     2.4  # SliTaz package receipt.
     2.5  
     2.6  PACKAGE="libzip"
     2.7 -VERSION="1.4.0"
     2.8 +VERSION="1.5.2"
     2.9  CATEGORY="misc"
    2.10  SHORT_DESC="C library for reading, creating, and modifying zip archives."
    2.11  MAINTAINER="pascal.bellard@slitaz.org"
    2.12  LICENSE="BSD"
    2.13 +WEB_SITE="https://libzip.org/"
    2.14 +
    2.15  TARBALL="$PACKAGE-$VERSION.tar.xz"
    2.16 -WEB_SITE="http://www.nih.at/libzip/"
    2.17 -WGET_URL="${WEB_SITE}$TARBALL"
    2.18 +WGET_URL="${WEB_SITE}download/$TARBALL"
    2.19 +
    2.20 +DEPENDS="zlib"
    2.21 +BUILD_DEPENDS="cmake zlib-dev"
    2.22 +
    2.23  HOST_ARCH="i486 arm"
    2.24  
    2.25 -BUILD_DEPENDS="zlib-dev cmake"
    2.26 -DEPENDS="zlib"
    2.27 -
    2.28  # Rules to configure and make the package.
    2.29  compile_rules()
    2.30  {
    2.31 -	mkdir build && cd build &&
    2.32 +	mkdir	build &&
    2.33 +	cd	build &&
    2.34  	cmake -DCMAKE_INSTALL_PREFIX=/usr .. &&
    2.35 -	make && make -j 1 install
    2.36 +	make -j 1 &&
    2.37 +	make -j 1 install
    2.38  }
    2.39  
    2.40  # Rules to gen a SliTaz package suitable for Tazpkg.
    2.41  genpkg_rules()
    2.42  {
    2.43  	mkdir -p $fs/usr/lib
    2.44 -	cp -a $install/usr/bin $fs/usr
    2.45 -	cp -a $install/usr/lib/*.so* $fs/usr/lib
    2.46 +
    2.47 +	cp -a $install/usr/bin		$fs/usr
    2.48 +	cp -a $install/usr/lib/*.so*	$fs/usr/lib
    2.49  }