wok view traceroute/receipt @ rev 19272

xz: enable lzma update
author Richard Dunbar <mojo@slitaz.org>
date Mon Jul 04 11:33:24 2016 -0400 (2016-07-04)
parents 380ffe05937a
children cbc92cce4d38
line source
1 # SliTaz package receipt.
3 PACKAGE="traceroute"
4 VERSION="2.0.19"
5 CATEGORY="network"
6 SHORT_DESC="The full-featured traceroute program."
7 MAINTAINER="samuel_trassare@yahoo.com"
8 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://traceroute.sourceforge.net/"
11 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
13 # Rules to configure and make the package.
14 compile_rules()
15 {
16 make && make prefix=/usr DESTDIR=$DESTDIR install
17 }
19 # Rules to gen a SliTaz package suitable for Tazpkg.
20 genpkg_rules()
21 {
22 mkdir -p $fs/usr/bin
23 cp $install/usr/bin/traceroute $fs/usr/bin
24 }
26 post_remove()
27 {
28 # Restore the symlink to busybox.
29 ln -s /bin/busybox /usr/bin/traceroute
30 }