wok-6.x diff traceroute/receipt @ rev 13777

slitaz-tools: fix 5.2 Makefile
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Jan 03 15:23:18 2013 +0100 (2013-01-03)
parents
children e27f2c90989c
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/traceroute/receipt	Thu Jan 03 15:23:18 2013 +0100
     1.3 @@ -0,0 +1,29 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="traceroute"
     1.7 +VERSION="2.0.18"
     1.8 +CATEGORY="network"
     1.9 +SHORT_DESC="The full-featured traceroute program."
    1.10 +MAINTAINER="samuel_trassare@yahoo.com"
    1.11 +TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.12 +WEB_SITE="http://sourceforge.net/projects/$PACKAGE"
    1.13 +WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
    1.14 +
    1.15 +# Rules to configure and make the package.
    1.16 +compile_rules()
    1.17 +{
    1.18 +	make && make DESTDIR=$DESTDIR install
    1.19 +}
    1.20 +
    1.21 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.22 +genpkg_rules()
    1.23 +{
    1.24 +	mkdir -p $fs/usr/bin
    1.25 +	cp $install/usr/local/bin/traceroute $fs/usr/bin
    1.26 +}
    1.27 +
    1.28 +post_remove()
    1.29 +{
    1.30 +	# Restore the symlink to busybox.
    1.31 +	ln -s /bin/busybox /usr/bin/traceroute
    1.32 +}