wok rev 13554

add traceroute 2.0.18. Really this time.
author Samuel Trassare <samuel_trassare@yahoo.com>
date Fri Nov 02 19:32:40 2012 +0000 (2012-11-02)
parents 14d7ba023d04
children 07ebf34f05f9
files traceroute/description.txt traceroute/receipt
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/traceroute/description.txt	Fri Nov 02 19:32:40 2012 +0000
     1.3 @@ -0,0 +1,2 @@
     1.4 +Traceroute is a network diagnostic tool for displaying the route (path) and 
     1.5 +measuring transit delays of packets across an Internet Protocol (IP) network.
     2.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     2.2 +++ b/traceroute/receipt	Fri Nov 02 19:32:40 2012 +0000
     2.3 @@ -0,0 +1,29 @@
     2.4 +# SliTaz package receipt.
     2.5 +
     2.6 +PACKAGE="traceroute"
     2.7 +VERSION="2.0.18"
     2.8 +CATEGORY="network"
     2.9 +SHORT_DESC="The full-featured traceroute program."
    2.10 +MAINTAINER="samuel_trassare@yahoo.com"
    2.11 +TARBALL="$PACKAGE-$VERSION.tar.gz"
    2.12 +WEB_SITE="http://sourceforge.net/projects/$PACKAGE"
    2.13 +WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
    2.14 +
    2.15 +# Rules to configure and make the package.
    2.16 +compile_rules()
    2.17 +{
    2.18 +	make && make DESTDIR=$DESTDIR install
    2.19 +}
    2.20 +
    2.21 +# Rules to gen a SliTaz package suitable for Tazpkg.
    2.22 +genpkg_rules()
    2.23 +{
    2.24 +	mkdir -p $fs/usr/bin
    2.25 +	cp $install/usr/local/bin/traceroute $fs/usr/bin
    2.26 +}
    2.27 +
    2.28 +post_remove()
    2.29 +{
    2.30 +	# Restore the symlink to busybox.
    2.31 +	ln -s /bin/busybox /usr/bin/traceroute
    2.32 +}