wok-next view traceroute/receipt @ rev 14754
linux: add default initrd
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Jun 16 20:18:01 2013 +0200 (2013-06-16) |
parents | 49a0fd9e6d09 |
children | 380ffe05937a |
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 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 }