wok view bwm-ng/receipt @ rev 25403
updated vzctl (3.0.25.1 -> 4.11.1)
author | Hans-G?nter Theisgen |
---|---|
date | Tue Aug 02 16:35:24 2022 +0100 (2022-08-02) |
parents | 5ea0ce1cecc0 |
children | 343c093ad221 |
line source
1 # SliTaz package receipt.
3 PACKAGE="bwm-ng"
4 VERSION="0.6.3"
5 CATEGORY="network"
6 SHORT_DESC="Bandwidth Monitor NG."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="https://www.gropp.org/?id=projects&sub=bwm-ng"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="https://github.com/vgropp/$PACKAGE/archive/v$VERSION/$TARBALL"
14 DEPENDS="libtinfo"
15 BUILD_DEPENDS="autoconf automake ncurses-dev"
17 current_version()
18 {
19 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \
20 sed '/archive.*tar/!d;s|.*/v\(.*\).tar.*|\1|;q'
21 }
23 # Rules to configure and make the package.
24 compile_rules()
25 {
26 export LDFLAGS="$LDFLAGS -ltinfo"
28 ./autogen.sh \
29 --prefix=/usr \
30 --mandir=/usr/share/man \
31 $CONFIGURE_ARGS &&
32 make &&
33 make install DESTDIR=$DESTDIR
34 }
36 # Rules to gen a SliTaz package suitable for Tazpkg.
37 genpkg_rules()
38 {
39 cook_copy_folders bin
40 }