wok-6.x diff libcap-ng/receipt @ rev 25507

plop: cleanup
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Feb 11 10:36:59 2023 +0000 (21 months ago)
parents 453c249b6219
children
line diff
     1.1 --- a/libcap-ng/receipt	Fri Feb 11 17:50:36 2022 +0000
     1.2 +++ b/libcap-ng/receipt	Sat Feb 11 10:36:59 2023 +0000
     1.3 @@ -1,7 +1,7 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="libcap-ng"
     1.7 -VERSION="0.7.9"
     1.8 +VERSION="0.8.2"
     1.9  CATEGORY="security"
    1.10  SHORT_DESC="New generation libcap library."
    1.11  MAINTAINER="erjo@slitaz.org"
    1.12 @@ -11,9 +11,9 @@
    1.13  TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.14  WGET_URL="${WEB_SITE}$TARBALL"
    1.15  
    1.16 +PROVIDE="libcap"
    1.17  DEPENDS=""
    1.18 -BUILD_DEPENDS="python"
    1.19 -PROVIDE="libcap"
    1.20 +BUILD_DEPENDS="autoconf automake coreutils libtool python"
    1.21  
    1.22  # What is the latest version available today?
    1.23  current_version()
    1.24 @@ -25,16 +25,15 @@
    1.25  # Rules to configure and make the package.
    1.26  compile_rules()
    1.27  {
    1.28 +	./autogen.sh &&
    1.29  	./configure $CONFIGURE_ARGS &&
    1.30 -	make -j 1 &&
    1.31 +	make &&
    1.32  	make install
    1.33  }
    1.34  
    1.35  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.36  genpkg_rules()
    1.37  {
    1.38 -	mkdir -p $fs/usr/lib
    1.39 -	
    1.40 -	cp -a $install/usr/lib/*.so*	$fs/usr/lib
    1.41 -	cp -a $install/usr/bin		$fs/usr
    1.42 +	cook_copy_folders	bin
    1.43 +	cook_copy_files		*.so*
    1.44  }