wok-6.x annotate libcap-ng/receipt @ rev 24526

updated exempi and exempi-dev (2.5.1 -> 2.6.1)
author Hans-G?nter Theisgen
date Tue Feb 22 17:39:50 2022 +0100 (2022-02-22)
parents 43187d86cff3
children b36efb4387b7
rev   line source
erjo@11451 1 # SliTaz package receipt.
erjo@11451 2
erjo@11451 3 PACKAGE="libcap-ng"
Hans-G?nter@21154 4 VERSION="0.7.9"
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
erjo@11451 14 DEPENDS=""
gokhlayeh@11479 15 BUILD_DEPENDS="python"
erjo@11451 16 PROVIDE="libcap"
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@21154 28 ./configure $CONFIGURE_ARGS &&
Hans-G?nter@21154 29 make -j 1 &&
Hans-G?nter@21154 30 make install
erjo@11451 31 }
erjo@11451 32
erjo@11451 33 # Rules to gen a SliTaz package suitable for Tazpkg.
erjo@11451 34 genpkg_rules()
erjo@11451 35 {
erjo@11451 36 mkdir -p $fs/usr/lib
erjo@11451 37
Hans-G?nter@21154 38 cp -a $install/usr/lib/*.so* $fs/usr/lib
Hans-G?nter@21154 39 cp -a $install/usr/bin $fs/usr
erjo@11451 40 }