wok annotate libstatgrab/receipt @ rev 21747

tazboot: spare 2k
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Jun 14 17:17:16 2019 +0200 (17 months ago)
parents 6e8b1bcb30e2
children ec8f0890911f
rev   line source
pankso@13503 1 # SliTaz package receipt.
pankso@13503 2
pankso@13503 3 PACKAGE="libstatgrab"
Hans-G?nter@21315 4 VERSION="0.91"
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"
pankso@13503 21 ./configure &&
Hans-G?nter@21315 22 make -j 1 &&
Hans-G?nter@21315 23 make -j 1 install
pankso@13503 24 }
pankso@13503 25
pankso@13503 26 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@13503 27 genpkg_rules()
pankso@13503 28 {
pankso@13503 29 mkdir -p $fs/usr/lib
Hans-G?nter@21315 30
Hans-G?nter@21315 31 cp -a $install/usr/lib/*.so* $fs/usr/lib
Hans-G?nter@21315 32 cp -a $install/usr/bin $fs/usr
pankso@13503 33 }