wok view wavemon/receipt @ rev 24779

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