wok annotate iftopcolor/receipt @ rev 17938
Up to latest: tazinst-gui, tazinst, tazpanel, tazpkg, tazlito
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Apr 15 09:36:43 2015 +0200 (2015-04-15) |
parents | |
children | 485540f15da6 |
rev | line source |
---|---|
paul@16963 | 1 # SliTaz package receipt. |
paul@16963 | 2 |
paul@16963 | 3 PACKAGE="iftopcolor" |
paul@16963 | 4 VERSION="20140730" |
paul@16963 | 5 CATEGORY="network" |
paul@16963 | 6 SHORT_DESC="Added color bars to iftop." |
paul@16963 | 7 MAINTAINER="paul@slitaz.org" |
paul@16963 | 8 LICENSE="GPL2" |
paul@16963 | 9 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
paul@16963 | 10 WEB_SITE="https://github.com/srix/iftopcolor" |
paul@16963 | 11 WGET_URL="git|git://github.com/srix/iftopcolor" |
paul@16963 | 12 |
paul@16963 | 13 DEPENDS="libpcap ncurses" |
paul@16963 | 14 BUILD_DEPENDS="libpcap-dev ncurses-dev git bzip2" |
paul@16963 | 15 |
paul@16963 | 16 # Rules to configure and make the package. |
paul@16963 | 17 compile_rules() |
paul@16963 | 18 { |
paul@16963 | 19 cd $src |
paul@16963 | 20 ./configure --prefix=/usr |
paul@16963 | 21 $CONFIGURE_ARGS |
paul@16963 | 22 make |
paul@16963 | 23 make DESTDIR=$DESTDIR install |
paul@16963 | 24 } |
paul@16963 | 25 |
paul@16963 | 26 # Rules to gen a SliTaz package suitable for Tazpkg. |
paul@16963 | 27 genpkg_rules() |
paul@16963 | 28 { |
paul@16963 | 29 mkdir -p $fs/usr |
paul@16963 | 30 cp -a $install/usr/sbin $fs/usr |
paul@16963 | 31 } |
paul@16963 | 32 |