wok annotate libstatgrab/receipt @ rev 23106

updated libstatgrab and libstatgrab-dev (0.91 -> 0.92)
author Hans-G?nter Theisgen
date Thu Mar 12 13:23:05 2020 +0100 (2020-03-12)
parents 62c8b10473cc
children 34e801e0eb52
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
pankso@13503 17 # Rules to configure and make the package.
pankso@13503 18 compile_rules()
pankso@13503 19 {
pascal@17715 20 export LDFLAGS="$LDFLAGS -ltinfo"
Hans-G?nter@23106 21
pankso@13503 22 ./configure &&
Hans-G?nter@23106 23 make &&
Hans-G?nter@23106 24 make install
pankso@13503 25 }
pankso@13503 26
pankso@13503 27 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@13503 28 genpkg_rules()
pankso@13503 29 {
pankso@13503 30 mkdir -p $fs/usr/lib
Hans-G?nter@21315 31
Hans-G?nter@21315 32 cp -a $install/usr/lib/*.so* $fs/usr/lib
Hans-G?nter@21315 33 cp -a $install/usr/bin $fs/usr
pankso@13503 34 }