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

Add get-src2pkg
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue May 14 07:26:31 2013 +0200 (2013-05-14)
parents
children 6eff489aa802
rev   line source
pankso@13503 1 # SliTaz package receipt.
pankso@13503 2
pankso@13503 3 PACKAGE="libstatgrab"
pankso@13503 4 VERSION="0.17"
pankso@13503 5 CATEGORY="system-tools"
pankso@13503 6 SHORT_DESC="Provides statistics about the system on which it's run."
pankso@13503 7 MAINTAINER="pankso@slitaz.org"
pankso@13503 8 TARBALL="$PACKAGE-$VERSION.tar.gz"
pankso@13503 9 WEB_SITE="http://www.i-scream.org/libstatgrab/"
pankso@13503 10 WGET_URL="http://ftp.uk.i-scream.org/pub/i-scream/libstatgrab/$TARBALL"
pankso@13503 11
pankso@13503 12 DEPENDS="ncursesw"
pankso@13503 13 BUILD_DEPENDS="ncursesw-dev"
pankso@13503 14
pankso@13503 15 # Rules to configure and make the package.
pankso@13503 16 compile_rules()
pankso@13503 17 {
pankso@13503 18 cd $src
pankso@13503 19 ./configure &&
pankso@13503 20 make && make install
pankso@13503 21 }
pankso@13503 22
pankso@13503 23 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@13503 24 genpkg_rules()
pankso@13503 25 {
pankso@13503 26 mkdir -p $fs/usr/lib
pankso@13503 27 cp -a $install/usr/lib/*.so* $fs/usr/lib
pankso@13503 28 cp -a $install/usr/bin $fs/usr
pankso@13503 29 }