# HG changeset patch # User Hans-G?nter Theisgen # Date 1648475554 -3600 # Node ID cc474971b7df8d04418f1a3a12ddc771c5fc3b17 # Parent 7fc888a0614181fd855574ba7808d911524b0147 updated libzip (1.6.1 -> 1.8.0) diff -r 7fc888a06141 -r cc474971b7df libzip-dev/receipt --- a/libzip-dev/receipt Mon Mar 28 14:05:02 2022 +0100 +++ b/libzip-dev/receipt Mon Mar 28 14:52:34 2022 +0100 @@ -1,7 +1,7 @@ # SliTaz package receipt. PACKAGE="libzip-dev" -VERSION="1.6.1" +VERSION="1.8.0" CATEGORY="development" SHORT_DESC="C library for reading, creating, and modifying zip archives - development files." MAINTAINER="pascal.bellard@slitaz.org" @@ -16,8 +16,6 @@ # 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 + cook_copy_folders include + cook_copy_folders pkgconfig } diff -r 7fc888a06141 -r cc474971b7df libzip/description.txt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/libzip/description.txt Mon Mar 28 14:52:34 2022 +0100 @@ -0,0 +1,5 @@ +Libzip is a C library for reading, creating, and modifying zip archives. +Files can be added from data buffers, files, or compressed data copied directly +from other zip archives. +Changes made without closing the archive can be reverted. +The API is documented by man pages. diff -r 7fc888a06141 -r cc474971b7df libzip/receipt --- a/libzip/receipt Mon Mar 28 14:05:02 2022 +0100 +++ b/libzip/receipt Mon Mar 28 14:52:34 2022 +0100 @@ -1,7 +1,7 @@ # SliTaz package receipt. PACKAGE="libzip" -VERSION="1.6.1" +VERSION="1.8.0" CATEGORY="misc" SHORT_DESC="C library for reading, creating, and modifying zip archives." MAINTAINER="pascal.bellard@slitaz.org" @@ -25,18 +25,17 @@ # Rules to configure and make the package. compile_rules() { - mkdir build && - cd build && - cmake -DCMAKE_INSTALL_PREFIX=/usr .. && - make -j 1 && - make -j 1 install + mkdir _build && + cd _build && + cmake .. \ + -D CMAKE_INSTALL_PREFIX=/usr && + make && + make 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 + cook_copy_folders bin + cook_copy_files *.so* }