# HG changeset patch # User Christophe Lincoln # Date 1350132492 -7200 # Node ID db8a7912b17ab676162fa5550bc66757187e2eb0 # Parent 0769826c3fc41bb72002f62b1d60762216dbb596 Add libstatgrab (grab system stats) diff -r 0769826c3fc4 -r db8a7912b17a libstatgrab-dev/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/libstatgrab-dev/receipt Sat Oct 13 14:48:12 2012 +0200 @@ -0,0 +1,17 @@ +# SliTaz package receipt. + +PACKAGE="libstatgrab-dev" +VERSION="0.17" +CATEGORY="development" +SHORT_DESC="The libstatgrab devel files." +MAINTAINER="pankso@slitaz.org" +WEB_SITE="http://www.i-scream.org/libstatgrab/" +WANTED="libstatgrab" + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + mkdir -p $fs/usr/lib + cp -a $install/usr/lib/*.*a $fs/usr/lib + cp -a $install/usr/include $fs/usr +} diff -r 0769826c3fc4 -r db8a7912b17a libstatgrab/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/libstatgrab/receipt Sat Oct 13 14:48:12 2012 +0200 @@ -0,0 +1,29 @@ +# SliTaz package receipt. + +PACKAGE="libstatgrab" +VERSION="0.17" +CATEGORY="system-tools" +SHORT_DESC="Provides statistics about the system on which it's run." +MAINTAINER="pankso@slitaz.org" +TARBALL="$PACKAGE-$VERSION.tar.gz" +WEB_SITE="http://www.i-scream.org/libstatgrab/" +WGET_URL="http://ftp.uk.i-scream.org/pub/i-scream/libstatgrab/$TARBALL" + +DEPENDS="ncursesw" +BUILD_DEPENDS="ncursesw-dev" + +# Rules to configure and make the package. +compile_rules() +{ + cd $src + ./configure && + make && make install +} + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + mkdir -p $fs/usr/lib + cp -a $install/usr/lib/*.so* $fs/usr/lib + cp -a $install/usr/bin $fs/usr +}