wok-6.x annotate traceroute/receipt @ rev 20684

Update some WEB_SITE
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Jan 27 21:28:24 2019 +0100 (2019-01-27)
parents 380ffe05937a
children cbc92cce4d38
rev   line source
samuel_trassare@13554 1 # SliTaz package receipt.
samuel_trassare@13554 2
samuel_trassare@13554 3 PACKAGE="traceroute"
samuel_trassare@13858 4 VERSION="2.0.19"
samuel_trassare@13554 5 CATEGORY="network"
samuel_trassare@13554 6 SHORT_DESC="The full-featured traceroute program."
samuel_trassare@13554 7 MAINTAINER="samuel_trassare@yahoo.com"
pascal@15000 8 LICENSE="GPL2"
samuel_trassare@13554 9 TARBALL="$PACKAGE-$VERSION.tar.gz"
slaxemulator@15819 10 WEB_SITE="http://traceroute.sourceforge.net/"
samuel_trassare@13554 11 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
samuel_trassare@13554 12
samuel_trassare@13554 13 # Rules to configure and make the package.
samuel_trassare@13554 14 compile_rules()
samuel_trassare@13554 15 {
slaxemulator@15819 16 make && make prefix=/usr DESTDIR=$DESTDIR install
samuel_trassare@13554 17 }
samuel_trassare@13554 18
samuel_trassare@13554 19 # Rules to gen a SliTaz package suitable for Tazpkg.
samuel_trassare@13554 20 genpkg_rules()
samuel_trassare@13554 21 {
samuel_trassare@13554 22 mkdir -p $fs/usr/bin
slaxemulator@15819 23 cp $install/usr/bin/traceroute $fs/usr/bin
samuel_trassare@13554 24 }
samuel_trassare@13554 25
samuel_trassare@13554 26 post_remove()
samuel_trassare@13554 27 {
samuel_trassare@13554 28 # Restore the symlink to busybox.
samuel_trassare@13554 29 ln -s /bin/busybox /usr/bin/traceroute
samuel_trassare@13554 30 }