wok annotate jnettop/receipt @ rev 20222
memtest, ipxe: update bootloader.S
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Feb 26 19:03:16 2018 +0100 (2018-02-26) |
parents | a26f13d15480 |
children | e3f377fbc5f0 |
rev | line source |
---|---|
pascal@11223 | 1 # SliTaz package receipt. |
pascal@11223 | 2 |
pascal@11223 | 3 PACKAGE="jnettop" |
pascal@11223 | 4 VERSION="0.13.0" |
pascal@11223 | 5 CATEGORY="network" |
pascal@11223 | 6 SHORT_DESC="Network online traffic visualizer." |
pascal@11223 | 7 MAINTAINER="paul@slitaz.org" |
pascal@15002 | 8 LICENSE="GPL2" |
pascal@11223 | 9 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@11223 | 10 WEB_SITE="http://jnettop.kubs.info/wiki/" |
pascal@11223 | 11 WGET_URL="http://jnettop.kubs.info/dist/$TARBALL" |
pascal@11223 | 12 |
pascal@15002 | 13 DEPENDS="ncurses libpcap libdb" |
pascal@15002 | 14 BUILD_DEPENDS="ncurses-dev libpcap-dev pkg-config glib-dev" |
pascal@15002 | 15 |
pascal@11223 | 16 # Rules to configure and make the package. |
pascal@11223 | 17 compile_rules() |
pascal@11223 | 18 { |
pascal@17628 | 19 export LDFLAGS="$LDFLAGS -ltinfo" |
pascal@11223 | 20 ./configure \ |
pascal@11223 | 21 --prefix=/usr \ |
pascal@11223 | 22 --infodir=/usr/share/info \ |
pascal@11223 | 23 --mandir=/usr/share/man \ |
pascal@11223 | 24 $CONFIGURE_ARGS && |
pascal@15002 | 25 make && make DESTDIR=$DESTDIR install |
pascal@11223 | 26 } |
pascal@11223 | 27 |
pascal@11223 | 28 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@11223 | 29 genpkg_rules() |
pascal@11223 | 30 { |
pascal@11223 | 31 mkdir -p $fs/usr/share $fs/root |
pascal@15002 | 32 cp -a $install/usr/bin $fs/usr |
pascal@15002 | 33 cp -a $install/usr/share/jnettop $fs/usr/share |
pascal@11223 | 34 # config file |
pascal@11223 | 35 cp -a $src/.jnettop $fs/root/.jnettop |
pascal@11223 | 36 } |