wok-6.x view libcap-ng/receipt @ rev 24669

updated inxi (3.0.37 -> 3.3.13)
author Hans-G?nter Theisgen
date Fri Mar 11 16:49:52 2022 +0100 (2022-03-11)
parents 43187d86cff3
children b36efb4387b7
line source
1 # SliTaz package receipt.
3 PACKAGE="libcap-ng"
4 VERSION="0.7.9"
5 CATEGORY="security"
6 SHORT_DESC="New generation libcap library."
7 MAINTAINER="erjo@slitaz.org"
8 LICENSE="GPL2 LGPL2.1"
9 WEB_SITE="https://people.redhat.com/sgrubb/libcap-ng/"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="${WEB_SITE}$TARBALL"
14 DEPENDS=""
15 BUILD_DEPENDS="python"
16 PROVIDE="libcap"
18 # What is the latest version available today?
19 current_version()
20 {
21 wget -O - ${WGET_URL%/*} 2>/dev/null | \
22 sed "/latest/d;/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
23 }
25 # Rules to configure and make the package.
26 compile_rules()
27 {
28 ./configure $CONFIGURE_ARGS &&
29 make -j 1 &&
30 make install
31 }
33 # Rules to gen a SliTaz package suitable for Tazpkg.
34 genpkg_rules()
35 {
36 mkdir -p $fs/usr/lib
38 cp -a $install/usr/lib/*.so* $fs/usr/lib
39 cp -a $install/usr/bin $fs/usr
40 }