wok annotate bwm-ng/receipt @ rev 21972
linux: package uas driver
author | Richard Dunbar <mojo@slitaz.org> |
---|---|
date | Fri Oct 11 08:52:23 2019 -0400 (2019-10-11) |
parents | 8edaebde73b6 |
children | 5ea0ce1cecc0 |
rev | line source |
---|---|
pascal@19363 | 1 # SliTaz package receipt. |
pascal@19363 | 2 |
pascal@19363 | 3 PACKAGE="bwm-ng" |
Hans-G?nter@20753 | 4 VERSION="0.6.2" |
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" |
Hans-G?nter@20753 | 9 WEB_SITE="https://www.gropp.org/?id=projects&sub=bwm-ng" |
Hans-G?nter@20753 | 10 |
pascal@19363 | 11 TARBALL="$PACKAGE-$VERSION.tar.gz" |
Hans-G?nter@20753 | 12 WGET_URL="https://github.com/vgropp/$PACKAGE/archive/v$VERSION/$TARBALL" |
pascal@19363 | 13 |
pascal@19365 | 14 DEPENDS="libtinfo" |
Hans-G?nter@20756 | 15 BUILD_DEPENDS="autoconf automake ncurses-dev" |
pascal@19365 | 16 |
pascal@19363 | 17 # Rules to configure and make the package. |
pascal@19363 | 18 compile_rules() |
pascal@19363 | 19 { |
pascal@19365 | 20 export LDFLAGS="$LDFLAGS -ltinfo" |
Hans-G?nter@20753 | 21 ./autogen.sh \ |
Hans-G?nter@20753 | 22 --prefix=/usr \ |
pascal@19363 | 23 --mandir=/usr/share/man \ |
pascal@19363 | 24 $CONFIGURE_ARGS && |
pascal@19363 | 25 make && |
pascal@19363 | 26 make DESTDIR=$DESTDIR install |
pascal@19363 | 27 } |
pascal@19363 | 28 |
pascal@19363 | 29 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@19363 | 30 genpkg_rules() |
pascal@19363 | 31 { |
pascal@19363 | 32 mkdir -p $fs/usr |
pascal@19363 | 33 cp -a $install/usr/bin $fs/usr |
pascal@19363 | 34 } |