# HG changeset patch # User Pascal Bellard # Date 1470210240 -7200 # Node ID 8bd052cdee2cb2ad865809199945222cbcf88b7a # Parent 7234b11003b6e37b4b124321eaed0e89339fc348 Add bwm-ng diff -r 7234b11003b6 -r 8bd052cdee2c bwm-ng/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/bwm-ng/receipt Wed Aug 03 09:44:00 2016 +0200 @@ -0,0 +1,28 @@ +# SliTaz package receipt. + +PACKAGE="bwm-ng" +VERSION="0.6.1" +CATEGORY="network" +SHORT_DESC="Bandwidth Monitor NG." +MAINTAINER="pascal.bellard@slitaz.org" +LICENSE="GPL2" +TARBALL="$PACKAGE-$VERSION.tar.gz" +WEB_SITE="https://www.gropp.org/?id=projects&sub=bwm-ng" +WGET_URL="https://www.gropp.org/$PACKAGE/$TARBALL" + +# Rules to configure and make the package. +compile_rules() +{ + ./configure --prefix=/usr \ + --mandir=/usr/share/man \ + $CONFIGURE_ARGS && + make && + make DESTDIR=$DESTDIR install +} + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + mkdir -p $fs/usr + cp -a $install/usr/bin $fs/usr +}