wok rev 24855

updated libzip (1.6.1 -> 1.8.0)
author Hans-G?nter Theisgen
date Mon Mar 28 14:52:34 2022 +0100 (2022-03-28)
parents 7fc888a06141
children cdc648e5f1be
files libzip-dev/receipt libzip/description.txt libzip/receipt
line diff
     1.1 --- a/libzip-dev/receipt	Mon Mar 28 14:05:02 2022 +0100
     1.2 +++ b/libzip-dev/receipt	Mon Mar 28 14:52:34 2022 +0100
     1.3 @@ -1,7 +1,7 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="libzip-dev"
     1.7 -VERSION="1.6.1"
     1.8 +VERSION="1.8.0"
     1.9  CATEGORY="development"
    1.10  SHORT_DESC="C library for reading, creating, and modifying zip archives - development files."
    1.11  MAINTAINER="pascal.bellard@slitaz.org"
    1.12 @@ -16,8 +16,6 @@
    1.13  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.14  genpkg_rules()
    1.15  {
    1.16 -	mkdir -p $fs/usr/lib
    1.17 -
    1.18 -	cp -a $install/usr/include		$fs/usr
    1.19 -	cp -a $install/usr/lib/pkgconfig	$fs/usr/lib
    1.20 +	cook_copy_folders	include
    1.21 +	cook_copy_folders	pkgconfig
    1.22  }
     2.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     2.2 +++ b/libzip/description.txt	Mon Mar 28 14:52:34 2022 +0100
     2.3 @@ -0,0 +1,5 @@
     2.4 +Libzip is a C library for reading, creating, and modifying zip archives.
     2.5 +Files can be added from data buffers, files, or compressed data copied directly
     2.6 +from other zip archives.
     2.7 +Changes made without closing the archive can be reverted.
     2.8 +The API is documented by man pages.
     3.1 --- a/libzip/receipt	Mon Mar 28 14:05:02 2022 +0100
     3.2 +++ b/libzip/receipt	Mon Mar 28 14:52:34 2022 +0100
     3.3 @@ -1,7 +1,7 @@
     3.4  # SliTaz package receipt.
     3.5  
     3.6  PACKAGE="libzip"
     3.7 -VERSION="1.6.1"
     3.8 +VERSION="1.8.0"
     3.9  CATEGORY="misc"
    3.10  SHORT_DESC="C library for reading, creating, and modifying zip archives."
    3.11  MAINTAINER="pascal.bellard@slitaz.org"
    3.12 @@ -25,18 +25,17 @@
    3.13  # Rules to configure and make the package.
    3.14  compile_rules()
    3.15  {
    3.16 -	mkdir	build &&
    3.17 -	cd	build &&
    3.18 -	cmake -DCMAKE_INSTALL_PREFIX=/usr .. &&
    3.19 -	make -j 1 &&
    3.20 -	make -j 1 install
    3.21 +	mkdir	_build &&
    3.22 +	cd	_build &&
    3.23 +	cmake	..				\
    3.24 +		-D CMAKE_INSTALL_PREFIX=/usr &&
    3.25 +	make &&
    3.26 +	make install
    3.27  }
    3.28  
    3.29  # Rules to gen a SliTaz package suitable for Tazpkg.
    3.30  genpkg_rules()
    3.31  {
    3.32 -	mkdir -p $fs/usr/lib
    3.33 -
    3.34 -	cp -a $install/usr/bin		$fs/usr
    3.35 -	cp -a $install/usr/lib/*.so*	$fs/usr/lib
    3.36 +	cook_copy_folders	bin
    3.37 +	cook_copy_files		*.so*
    3.38  }