# HG changeset patch # User Hans-G?nter Theisgen # Date 1555832528 -3600 # Node ID 84659393c7e87f7c7b627fc7f68816efcafdcd1d # Parent 4700d43dc4949f2274d875575f5706ac55334836 updated libzip and libzip-dev (1.4.0 -> 1.5.2) diff -r 4700d43dc494 -r 84659393c7e8 libzip-dev/receipt --- a/libzip-dev/receipt Sun Apr 21 08:16:41 2019 +0100 +++ b/libzip-dev/receipt Sun Apr 21 08:42:08 2019 +0100 @@ -1,21 +1,23 @@ # SliTaz package receipt. PACKAGE="libzip-dev" -VERSION="1.4.0" +VERSION="1.5.2" CATEGORY="development" -SHORT_DESC="C library for reading, creating, and modifying zip archives, development files." +SHORT_DESC="C library for reading, creating, and modifying zip archives - development files." MAINTAINER="pascal.bellard@slitaz.org" LICENSE="BSD" -WEB_SITE="http://www.nih.at/libzip/" -WANTED="libzip" -HOST_ARCH="i486 arm" +WEB_SITE="https://libzip.org/" DEPENDS="libzip pkg-config" +WANTED="libzip" + +HOST_ARCH="i486 arm" # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { mkdir -p $fs/usr/lib - cp -a $install/usr/include $fs/usr - cp -a $install/usr/lib/pkgconfig $fs/usr/lib + + cp -a $install/usr/include $fs/usr + cp -a $install/usr/lib/pkgconfig $fs/usr/lib } diff -r 4700d43dc494 -r 84659393c7e8 libzip/receipt --- a/libzip/receipt Sun Apr 21 08:16:41 2019 +0100 +++ b/libzip/receipt Sun Apr 21 08:42:08 2019 +0100 @@ -1,31 +1,36 @@ # SliTaz package receipt. PACKAGE="libzip" -VERSION="1.4.0" +VERSION="1.5.2" CATEGORY="misc" SHORT_DESC="C library for reading, creating, and modifying zip archives." MAINTAINER="pascal.bellard@slitaz.org" LICENSE="BSD" +WEB_SITE="https://libzip.org/" + TARBALL="$PACKAGE-$VERSION.tar.xz" -WEB_SITE="http://www.nih.at/libzip/" -WGET_URL="${WEB_SITE}$TARBALL" +WGET_URL="${WEB_SITE}download/$TARBALL" + +DEPENDS="zlib" +BUILD_DEPENDS="cmake zlib-dev" + HOST_ARCH="i486 arm" -BUILD_DEPENDS="zlib-dev cmake" -DEPENDS="zlib" - # Rules to configure and make the package. compile_rules() { - mkdir build && cd build && + mkdir build && + cd build && cmake -DCMAKE_INSTALL_PREFIX=/usr .. && - make && make -j 1 install + make -j 1 && + make -j 1 install } # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { mkdir -p $fs/usr/lib - cp -a $install/usr/bin $fs/usr - cp -a $install/usr/lib/*.so* $fs/usr/lib + + cp -a $install/usr/bin $fs/usr + cp -a $install/usr/lib/*.so* $fs/usr/lib }