wok annotate iftopcolor/receipt @ rev 24749
cairo: modified lookup-symbol.c for binutils-2.37
author | Hans-G?nter Theisgen |
---|---|
date | Wed Mar 16 17:06:35 2022 +0100 (2022-03-16) |
parents | 485540f15da6 |
children |
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 |
pascal@24308 | 16 # What is the latest version available today? |
pascal@24308 | 17 current_version() |
pascal@24308 | 18 { |
pascal@24308 | 19 wget -O - $WEB_SITE/tags 2>/dev/null | \ |
pascal@24308 | 20 sed '/archive.*tar/!d;s|.*/[A-Za-z_-]*\(.*\).tar.*|\1|;q' |
pascal@24308 | 21 } |
pascal@24308 | 22 |
paul@16963 | 23 # Rules to configure and make the package. |
paul@16963 | 24 compile_rules() |
paul@16963 | 25 { |
al@20476 | 26 ./configure --prefix=/usr \ |
al@20476 | 27 $CONFIGURE_ARGS && |
al@20476 | 28 make && |
paul@16963 | 29 make DESTDIR=$DESTDIR install |
paul@16963 | 30 } |
paul@16963 | 31 |
paul@16963 | 32 # Rules to gen a SliTaz package suitable for Tazpkg. |
paul@16963 | 33 genpkg_rules() |
paul@16963 | 34 { |
paul@16963 | 35 mkdir -p $fs/usr |
paul@16963 | 36 cp -a $install/usr/sbin $fs/usr |
paul@16963 | 37 } |
paul@16963 | 38 |