wok view traceroute/receipt @ rev 25460

Update sourceforge.net web_sites with https://
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Sep 28 08:10:35 2022 +0000 (19 months ago)
parents 5f6c5106b1f5
children 29df00e1e19d
line source
1 # SliTaz package receipt.
3 PACKAGE="traceroute"
4 VERSION="2.1.0"
5 CATEGORY="network"
6 SHORT_DESC="The full-featured traceroute program."
7 MAINTAINER="samuel_trassare@yahoo.com"
8 LICENSE="GPL2"
9 WEB_SITE="https://traceroute.sourceforge.net/"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
14 # What is the latest version available today?
15 current_version()
16 {
17 wget -O - https://sourceforge.net/projects/traceroute/files/traceroute/ 2>/dev/null | \
18 sed '/scope="row/!d;/unstable/d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \
19 sed '/scope="row/!d;s|.*/traceroute-||;s|/.*||;q'
20 }
22 # Rules to configure and make the package.
23 compile_rules()
24 {
25 make &&
26 make prefix=/usr DESTDIR=$DESTDIR install
27 }
29 # Rules to gen a SliTaz package suitable for Tazpkg.
30 genpkg_rules()
31 {
32 mkdir -p $fs/usr/bin
33 cp $install/usr/bin/traceroute $fs/usr/bin
34 }
36 post_remove()
37 {
38 # Restore the symbolic link to busybox.
39 ln -s /bin/busybox /usr/bin/traceroute
40 }