wok-current diff 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 |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/traceroute/receipt Wed Nov 14 21:43:11 2012 +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 +}