wok view libstatgrab/receipt @ rev 25632
Up gtklife (5.3)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Dec 23 14:06:29 2023 +0000 (11 months ago) |
parents | 00e3b45c063b |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="libstatgrab"
4 VERSION="0.92.1"
5 CATEGORY="system-tools"
6 SHORT_DESC="Provides statistics about the system on which it is run."
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="https://www.i-scream.org/libstatgrab/"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="https://ftp.i-scream.org/pub/i-scream/libstatgrab/$TARBALL"
14 DEPENDS="ncursesw"
15 BUILD_DEPENDS="file ncursesw-dev"
17 # What is the latest version available today?
18 current_version()
19 {
20 wget -O - https://github.com/libstatgrab/libstatgrab/releases 2>/dev/null | \
21 sed '/tag\//!d;s|.*tag/[A-Z_]*||;s|".*||;s|_|.|g;;q'
22 }
24 # Rules to configure and make the package.
25 compile_rules()
26 {
27 export LDFLAGS="$LDFLAGS -ltinfo"
29 ./configure &&
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 }