wok-next annotate traceroute/receipt @ rev 15706
claws-mail: Fix receipt
author | Eric Joseph-Alexandre <erjo@slitaz.org> |
---|---|
date | Sun Dec 22 18:42:54 2013 +0100 (2013-12-22) |
parents | e27f2c90989c |
children | 629c380d93f2 |
rev | line source |
---|---|
samuel_trassare@13554 | 1 # SliTaz package receipt. |
samuel_trassare@13554 | 2 |
samuel_trassare@13554 | 3 PACKAGE="traceroute" |
samuel_trassare@13858 | 4 VERSION="2.0.19" |
samuel_trassare@13554 | 5 CATEGORY="network" |
samuel_trassare@13554 | 6 SHORT_DESC="The full-featured traceroute program." |
samuel_trassare@13554 | 7 MAINTAINER="samuel_trassare@yahoo.com" |
pascal@15000 | 8 LICENSE="GPL2" |
samuel_trassare@13554 | 9 TARBALL="$PACKAGE-$VERSION.tar.gz" |
samuel_trassare@13554 | 10 WEB_SITE="http://sourceforge.net/projects/$PACKAGE" |
samuel_trassare@13554 | 11 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" |
samuel_trassare@13554 | 12 |
samuel_trassare@13554 | 13 # Rules to configure and make the package. |
samuel_trassare@13554 | 14 compile_rules() |
samuel_trassare@13554 | 15 { |
samuel_trassare@13554 | 16 make && make DESTDIR=$DESTDIR install |
samuel_trassare@13554 | 17 } |
samuel_trassare@13554 | 18 |
samuel_trassare@13554 | 19 # Rules to gen a SliTaz package suitable for Tazpkg. |
samuel_trassare@13554 | 20 genpkg_rules() |
samuel_trassare@13554 | 21 { |
samuel_trassare@13554 | 22 mkdir -p $fs/usr/bin |
samuel_trassare@13554 | 23 cp $install/usr/local/bin/traceroute $fs/usr/bin |
samuel_trassare@13554 | 24 } |
samuel_trassare@13554 | 25 |
samuel_trassare@13554 | 26 post_remove() |
samuel_trassare@13554 | 27 { |
samuel_trassare@13554 | 28 # Restore the symlink to busybox. |
samuel_trassare@13554 | 29 ln -s /bin/busybox /usr/bin/traceroute |
samuel_trassare@13554 | 30 } |