wok-next view traceroute/receipt @ rev 15138

silc-server: add post_install
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Aug 15 11:23:43 2013 +0000 (2013-08-15)
parents e27f2c90989c
children 629c380d93f2
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://sourceforge.net/projects/$PACKAGE"
11 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
13 # Rules to configure and make the package.
14 compile_rules()
15 {
16 make && make 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/local/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 }