wok view bwm-ng/receipt @ rev 25740

Fix vlc build, 3.x required Qt5
author Stanislas Leduc <shann@slitaz.org>
date Sun Aug 25 19:45:07 2024 +0200 (2 months ago)
parents 378047fc5291
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 # What is the latest version available today?
18 current_version()
19 {
20 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \
21 sed '/tag\//!d;s|.*tag/v*||;s|".*||;q'
22 }
24 # Rules to configure and make the package.
25 compile_rules()
26 {
27 export LDFLAGS="$LDFLAGS -ltinfo"
29 ./autogen.sh \
30 --prefix=/usr \
31 --mandir=/usr/share/man \
32 $CONFIGURE_ARGS &&
33 make &&
34 make install DESTDIR=$DESTDIR
35 }
37 # Rules to gen a SliTaz package suitable for Tazpkg.
38 genpkg_rules()
39 {
40 cook_copy_folders bin
41 }