wok-6.x annotate wavemon/receipt @ rev 22822
Add emu8051
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Feb 06 12:27:36 2020 +0100 (2020-02-06) |
parents | 830e5d5041f9 |
children | 1df91d73d1b3 |
rev | line source |
---|---|
pascal@14377 | 1 # SliTaz package receipt. |
pascal@14377 | 2 |
pascal@14377 | 3 PACKAGE="wavemon" |
Hans-G?nter@22120 | 4 VERSION="0.9.0" |
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@14377 | 17 # Rules to configure and make the package. |
pascal@14377 | 18 compile_rules() |
pascal@14377 | 19 { |
Hans-G?nter@22120 | 20 ln -s /usr/include/libnl3/netlink /usr/include/netlink |
pascal@22352 | 21 export LDFLAGS="$LDFLAGS -ltinfo -lpthread" |
Hans-G?nter@22120 | 22 |
Hans-G?nter@22120 | 23 ./configure \ |
Hans-G?nter@22120 | 24 --prefix=/usr \ |
pascal@14377 | 25 $CONFIGURE_ARGS && |
Hans-G?nter@22120 | 26 make && |
Hans-G?nter@22120 | 27 make install |
pascal@14377 | 28 } |
pascal@14377 | 29 |
pascal@14377 | 30 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@14377 | 31 genpkg_rules() |
pascal@14377 | 32 { |
pascal@14377 | 33 mkdir -p $fs/usr |
pascal@14377 | 34 cp -a $install/usr/bin $fs/usr |
pascal@14377 | 35 } |