wok annotate libcap-ng/receipt @ rev 25420

Update some web_site
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Aug 08 07:39:58 2022 +0000 (22 months ago)
parents 453c249b6219
children
rev   line source
erjo@11451 1 # SliTaz package receipt.
erjo@11451 2
erjo@11451 3 PACKAGE="libcap-ng"
Hans-G?nter@24724 4 VERSION="0.8.2"
erjo@11451 5 CATEGORY="security"
erjo@11451 6 SHORT_DESC="New generation libcap library."
erjo@11451 7 MAINTAINER="erjo@slitaz.org"
pascal@15472 8 LICENSE="GPL2 LGPL2.1"
Hans-G?nter@21154 9 WEB_SITE="https://people.redhat.com/sgrubb/libcap-ng/"
Hans-G?nter@21154 10
erjo@11451 11 TARBALL="$PACKAGE-$VERSION.tar.gz"
Hans-G?nter@21154 12 WGET_URL="${WEB_SITE}$TARBALL"
erjo@11451 13
Hans-G?nter@24724 14 PROVIDE="libcap"
erjo@11451 15 DEPENDS=""
Hans-G?nter@24724 16 BUILD_DEPENDS="autoconf automake coreutils libtool python"
erjo@11451 17
pascal@24425 18 # What is the latest version available today?
pascal@24425 19 current_version()
pascal@24425 20 {
pascal@24425 21 wget -O - ${WGET_URL%/*} 2>/dev/null | \
pascal@24425 22 sed "/latest/d;/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
pascal@24425 23 }
pascal@24425 24
erjo@11451 25 # Rules to configure and make the package.
erjo@11451 26 compile_rules()
erjo@11451 27 {
Hans-G?nter@24724 28 ./autogen.sh &&
Hans-G?nter@21154 29 ./configure $CONFIGURE_ARGS &&
Hans-G?nter@24724 30 make &&
Hans-G?nter@21154 31 make install
erjo@11451 32 }
erjo@11451 33
erjo@11451 34 # Rules to gen a SliTaz package suitable for Tazpkg.
erjo@11451 35 genpkg_rules()
erjo@11451 36 {
Hans-G?nter@24724 37 cook_copy_folders bin
Hans-G?nter@24724 38 cook_copy_files *.so*
erjo@11451 39 }