wok view bwm-ng/receipt @ rev 24235

updated perl-log-log4perl (1.49 -> 1.54)
author Hans-G?nter Theisgen
date Sun Jan 02 07:05:50 2022 +0100 (2022-01-02)
parents bb64ef45fe1f
children 378047fc5291
line source
1 # SliTaz package receipt.
3 PACKAGE="bwm-ng"
4 VERSION="0.6.2"
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"
27 ./autogen.sh \
28 --prefix=/usr \
29 --mandir=/usr/share/man \
30 $CONFIGURE_ARGS &&
31 make &&
32 make DESTDIR=$DESTDIR install
33 }
35 # Rules to gen a SliTaz package suitable for Tazpkg.
36 genpkg_rules()
37 {
38 mkdir -p $fs/usr
39 cp -a $install/usr/bin $fs/usr
40 }