wok annotate wavemon/receipt @ rev 24525

Up libav (0.6.6 -> 12.3)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Feb 22 16:15:28 2022 +0000 (2022-02-22)
parents 1df91d73d1b3
children 0262035dc1e7
rev   line source
pascal@14377 1 # SliTaz package receipt.
pascal@14377 2
pascal@14377 3 PACKAGE="wavemon"
Hans-G?nter@23730 4 VERSION="0.9.1"
pascal@14377 5 CATEGORY="network"
Hans-G?nter@22120 6 SHORT_DESC="An ncurses-based monitoring application for wireless network devices."
pascal@14377 7 MAINTAINER="paul@slitaz.org"
pascal@15201 8 LICENSE="GPL3"
Hans-G?nter@22120 9 WEB_SITE="https://github.com/uoaerg/wavemon/"
pascal@14377 10
Hans-G?nter@22120 11 TARBALL="$PACKAGE-$VERSION.tar.gz"
Hans-G?nter@22120 12 WGET_URL="${WEB_SITE}archive/v$VERSION.tar.gz"
Hans-G?nter@22120 13
Hans-G?nter@22120 14 DEPENDS="libcap libnl ncurses"
Hans-G?nter@22120 15 BUILD_DEPENDS="libcap-dev libnl-dev ncurses-dev"
pascal@14999 16
pascal@24304 17 # What is the latest version available today?
pascal@24304 18 current_version()
pascal@24304 19 {
pascal@24304 20 wget -O - $WEB_SITE/releases 2>/dev/null | \
pascal@24304 21 sed '/archive.*tar/!d;s|.*/[A-Za-z_-]*\(.*\).tar.*|\1|;q'
pascal@24304 22 }
pascal@24304 23
pascal@14377 24 # Rules to configure and make the package.
pascal@14377 25 compile_rules()
pascal@14377 26 {
Hans-G?nter@22120 27 ln -s /usr/include/libnl3/netlink /usr/include/netlink
pascal@22352 28 export LDFLAGS="$LDFLAGS -ltinfo -lpthread"
Hans-G?nter@22120 29
Hans-G?nter@22120 30 ./configure \
Hans-G?nter@22120 31 --prefix=/usr \
pascal@14377 32 $CONFIGURE_ARGS &&
Hans-G?nter@22120 33 make &&
Hans-G?nter@22120 34 make install
pascal@14377 35 }
pascal@14377 36
pascal@14377 37 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@14377 38 genpkg_rules()
pascal@14377 39 {
pascal@14377 40 mkdir -p $fs/usr
Hans-G?nter@23730 41 cp -a $install/usr/bin $fs/usr
pascal@14377 42 }