wok-current view bwm-ng/receipt @ rev 25720

Up gnumeric (1.12.57) and deps
author Stanislas Leduc <shann@slitaz.org>
date Tue Jun 18 11:05:31 2024 +0000 (5 months ago)
parents 5ea0ce1cecc0
children
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 }