wok view libcap-ng/receipt @ rev 25683
Add entry menu to use pm-suspend more friendly
author | Stanislas Leduc <shann@slitaz.org> |
---|---|
date | Sat Apr 06 11:51:33 2024 +0200 (7 months ago) |
parents | 453c249b6219 |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="libcap-ng"
4 VERSION="0.8.2"
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 PROVIDE="libcap"
15 DEPENDS=""
16 BUILD_DEPENDS="autoconf automake coreutils libtool python"
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 ./autogen.sh &&
29 ./configure $CONFIGURE_ARGS &&
30 make &&
31 make install
32 }
34 # Rules to gen a SliTaz package suitable for Tazpkg.
35 genpkg_rules()
36 {
37 cook_copy_folders bin
38 cook_copy_files *.so*
39 }