wok-current view traceroute/receipt @ rev 13788

spacefm: use tazbox (thanks ernia)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Jan 05 11:09:31 2013 +0100 (2013-01-05)
parents
children e27f2c90989c
line source
1 # SliTaz package receipt.
3 PACKAGE="traceroute"
4 VERSION="2.0.18"
5 CATEGORY="network"
6 SHORT_DESC="The full-featured traceroute program."
7 MAINTAINER="samuel_trassare@yahoo.com"
8 TARBALL="$PACKAGE-$VERSION.tar.gz"
9 WEB_SITE="http://sourceforge.net/projects/$PACKAGE"
10 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
12 # Rules to configure and make the package.
13 compile_rules()
14 {
15 make && make DESTDIR=$DESTDIR install
16 }
18 # Rules to gen a SliTaz package suitable for Tazpkg.
19 genpkg_rules()
20 {
21 mkdir -p $fs/usr/bin
22 cp $install/usr/local/bin/traceroute $fs/usr/bin
23 }
25 post_remove()
26 {
27 # Restore the symlink to busybox.
28 ln -s /bin/busybox /usr/bin/traceroute
29 }