wok view wavemon/receipt @ rev 23915
Add 2048
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Aug 18 16:53:56 2020 +0000 (2020-08-18) |
parents | 3e7ded8526ee |
children | 922f061231c2 |
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 # Rules to configure and make the package.
18 compile_rules()
19 {
20 ln -s /usr/include/libnl3/netlink /usr/include/netlink
21 export LDFLAGS="$LDFLAGS -ltinfo -lpthread"
23 ./configure \
24 --prefix=/usr \
25 $CONFIGURE_ARGS &&
26 make &&
27 make install
28 }
30 # Rules to gen a SliTaz package suitable for Tazpkg.
31 genpkg_rules()
32 {
33 mkdir -p $fs/usr
34 cp -a $install/usr/bin $fs/usr
35 }