wok-current annotate traceroute/receipt @ rev 13626

Up: alsa-plugons (1.0.26) and fix missing build deps
author Christophe Lincoln <pankso@slitaz.org>
date Wed Nov 14 21:43:11 2012 +0100 (2012-11-14)
parents
children e27f2c90989c
rev   line source
samuel_trassare@13554 1 # SliTaz package receipt.
samuel_trassare@13554 2
samuel_trassare@13554 3 PACKAGE="traceroute"
samuel_trassare@13554 4 VERSION="2.0.18"
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"
samuel_trassare@13554 8 TARBALL="$PACKAGE-$VERSION.tar.gz"
samuel_trassare@13554 9 WEB_SITE="http://sourceforge.net/projects/$PACKAGE"
samuel_trassare@13554 10 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
samuel_trassare@13554 11
samuel_trassare@13554 12 # Rules to configure and make the package.
samuel_trassare@13554 13 compile_rules()
samuel_trassare@13554 14 {
samuel_trassare@13554 15 make && make DESTDIR=$DESTDIR install
samuel_trassare@13554 16 }
samuel_trassare@13554 17
samuel_trassare@13554 18 # Rules to gen a SliTaz package suitable for Tazpkg.
samuel_trassare@13554 19 genpkg_rules()
samuel_trassare@13554 20 {
samuel_trassare@13554 21 mkdir -p $fs/usr/bin
samuel_trassare@13554 22 cp $install/usr/local/bin/traceroute $fs/usr/bin
samuel_trassare@13554 23 }
samuel_trassare@13554 24
samuel_trassare@13554 25 post_remove()
samuel_trassare@13554 26 {
samuel_trassare@13554 27 # Restore the symlink to busybox.
samuel_trassare@13554 28 ln -s /bin/busybox /usr/bin/traceroute
samuel_trassare@13554 29 }