wok annotate bwm-ng/receipt @ rev 19628
Up sslh (1.18)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Jan 12 11:41:16 2017 +0100 (2017-01-12) |
parents | 8bd052cdee2c |
children | 616d975b5c9d |
rev | line source |
---|---|
pascal@19363 | 1 # SliTaz package receipt. |
pascal@19363 | 2 |
pascal@19363 | 3 PACKAGE="bwm-ng" |
pascal@19363 | 4 VERSION="0.6.1" |
pascal@19363 | 5 CATEGORY="network" |
pascal@19363 | 6 SHORT_DESC="Bandwidth Monitor NG." |
pascal@19363 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@19363 | 8 LICENSE="GPL2" |
pascal@19363 | 9 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@19363 | 10 WEB_SITE="https://www.gropp.org/?id=projects&sub=bwm-ng" |
pascal@19363 | 11 WGET_URL="https://www.gropp.org/$PACKAGE/$TARBALL" |
pascal@19363 | 12 |
pascal@19365 | 13 DEPENDS="libtinfo" |
pascal@19365 | 14 BUILD_DEPENDS="ncurses-dev" |
pascal@19365 | 15 |
pascal@19363 | 16 # Rules to configure and make the package. |
pascal@19363 | 17 compile_rules() |
pascal@19363 | 18 { |
pascal@19365 | 19 export LDFLAGS="$LDFLAGS -ltinfo" |
pascal@19363 | 20 ./configure --prefix=/usr \ |
pascal@19363 | 21 --mandir=/usr/share/man \ |
pascal@19363 | 22 $CONFIGURE_ARGS && |
pascal@19363 | 23 make && |
pascal@19363 | 24 make DESTDIR=$DESTDIR install |
pascal@19363 | 25 } |
pascal@19363 | 26 |
pascal@19363 | 27 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@19363 | 28 genpkg_rules() |
pascal@19363 | 29 { |
pascal@19363 | 30 mkdir -p $fs/usr |
pascal@19363 | 31 cp -a $install/usr/bin $fs/usr |
pascal@19363 | 32 } |