wok view traceroute/receipt @ rev 21490

trickle: fix build
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed May 01 18:05:32 2019 +0200 (2019-05-01)
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 }