wok annotate traceroute/receipt @ rev 14938

Up: eio-dev (1.7.8)
author Dominique Corbex <domcox@slitaz.org>
date Thu Aug 08 19:15:43 2013 +0200 (2013-08-08)
parents 49a0fd9e6d09
children 380ffe05937a
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"
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 }