wok-6.x annotate libstatgrab/receipt @ rev 24755

gtklp: ignore ERROR from autogen.sh
author Hans-G?nter Theisgen
date Thu Mar 17 07:54:00 2022 +0100 (2022-03-17)
parents ec8f0890911f
children 99a2dc705199
rev   line source
pankso@13503 1 # SliTaz package receipt.
pankso@13503 2
pankso@13503 3 PACKAGE="libstatgrab"
Hans-G?nter@23106 4 VERSION="0.92"
pankso@13503 5 CATEGORY="system-tools"
Hans-G?nter@21315 6 SHORT_DESC="Provides statistics about the system on which it is run."
pankso@13503 7 MAINTAINER="pankso@slitaz.org"
pascal@14718 8 LICENSE="GPL2"
Hans-G?nter@21315 9 WEB_SITE="https://www.i-scream.org/libstatgrab/"
Hans-G?nter@21315 10
pankso@13503 11 TARBALL="$PACKAGE-$VERSION.tar.gz"
Hans-G?nter@21315 12 WGET_URL="https://ftp.uk.i-scream.org/pub/i-scream/libstatgrab/$TARBALL"
pankso@13503 13
pankso@13503 14 DEPENDS="ncursesw"
Hans-G?nter@21315 15 BUILD_DEPENDS="file ncursesw-dev"
pankso@13503 16
pascal@24497 17 # What is the latest version available today?
pascal@24497 18 current_version()
pascal@24497 19 {
pascal@24497 20 wget -O - https://github.com/libstatgrab/libstatgrab/releases 2>/dev/null | \
pascal@24497 21 sed '/archive.*tar/!d;s|.*/[A-Z_]*\(.*\).tar.*|\1|;s|_|.|g;q'
pascal@24497 22 }
pascal@24497 23
pankso@13503 24 # Rules to configure and make the package.
pankso@13503 25 compile_rules()
pankso@13503 26 {
pascal@17715 27 export LDFLAGS="$LDFLAGS -ltinfo"
Hans-G?nter@23106 28
pankso@13503 29 ./configure &&
Hans-G?nter@23106 30 make &&
Hans-G?nter@23106 31 make install
pankso@13503 32 }
pankso@13503 33
pankso@13503 34 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@13503 35 genpkg_rules()
pankso@13503 36 {
pankso@13503 37 mkdir -p $fs/usr/lib
Hans-G?nter@21315 38
Hans-G?nter@21315 39 cp -a $install/usr/lib/*.so* $fs/usr/lib
Hans-G?nter@21315 40 cp -a $install/usr/bin $fs/usr
pankso@13503 41 }