wok-next annotate jnettop/receipt @ rev 16849
netsurf: partially undo prev.commit: add perl parser due to log
author | Xander Ziiryanoff <psychomaniak@xakep.ru> |
---|---|
date | Sun Jul 13 02:17:24 2014 +0300 (2014-07-13) |
parents | 204e87ff8736 |
children | a26f13d15480 |
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@11223 | 19 cd $src |
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 } |
pascal@11223 | 37 |