wok diff libcap/receipt @ rev 24975

Update some wget_url
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon May 02 16:22:04 2022 +0000 (2022-05-02)
parents 5d79829fa876
children
line diff
     1.1 --- a/libcap/receipt	Wed Jul 07 17:56:16 2021 +0000
     1.2 +++ b/libcap/receipt	Mon May 02 16:22:04 2022 +0000
     1.3 @@ -1,18 +1,18 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="libcap"
     1.7 -VERSION="2.33"
     1.8 +VERSION="2.63"
     1.9  CATEGORY="system-tools"
    1.10  SHORT_DESC="Support for getting and setting POSIX.1e capabilities."
    1.11  MAINTAINER="pankso@slitaz.org"
    1.12  LICENSE="BSD"
    1.13 -WEB_SITE="http://sites.google.com/site/fullycapable/"
    1.14 +WEB_SITE="https://sites.google.com/site/fullycapable/"
    1.15  
    1.16  TARBALL="$PACKAGE-$VERSION.tar.xz"
    1.17  WGET_URL="https://www.kernel.org/pub/linux/libs/security/linux-privs/libcap2/$TARBALL"
    1.18  
    1.19 -DEPENDS="attr"
    1.20 -BUILD_DEPENDS="attr-dev gperf pam-dev"
    1.21 +DEPENDS="attr gcc83-lib-base"
    1.22 +BUILD_DEPENDS="attr-dev gcc83 gperf pam-dev"
    1.23  
    1.24  HOST_ARCH="i486 arm"
    1.25  
    1.26 @@ -31,11 +31,13 @@
    1.27  # Rules to configure and make the package.
    1.28  compile_rules()
    1.29  {
    1.30 -	sed -i 's|INCLUDE_GPERF_OUTPUT = |&-include stddef.h |' \
    1.31 -		libcap/Makefile
    1.32 -
    1.33 -	make DYNAMIC=yes ${ARCH_ARGS} &&
    1.34 -	make RAISE_SETCAP=no DESTDIR=$DESTDIR install
    1.35 +	make			\
    1.36 +		CC=gcc-83	\
    1.37 +		DYNAMIC=yes	\
    1.38 +		$ARCH_ARGS &&
    1.39 +	make	install		\
    1.40 +		RAISE_SETCAP=no	\
    1.41 +		DESTDIR=$DESTDIR
    1.42  }
    1.43  
    1.44  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.45 @@ -45,5 +47,5 @@
    1.46  
    1.47  	cp -a $install/lib/*.so*	$fs/lib
    1.48  	chmod +x			$fs/lib/*
    1.49 -	cp -a $install/sbin		$fs
    1.50 +	cook_copy_folders	sbin
    1.51  }