wok-6.x view mtr/receipt @ rev 24669

updated inxi (3.0.37 -> 3.3.13)
author Hans-G?nter Theisgen
date Fri Mar 11 16:49:52 2022 +0100 (2022-03-11)
parents 241fb98cab1c
children b65543f4a4eb
line source
1 # SliTaz package receipt.
3 PACKAGE="mtr"
4 VERSION="0.93"
5 CATEGORY="network"
6 SHORT_DESC="My traceroute."
7 MAINTAINER="paul@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="http://www.bitwizard.nl/mtr/"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="ftp://ftp.bitwizard.nl/mtr/$TARBALL"
14 DEPENDS="ncurses"
15 BUILD_DEPENDS="autoconf automake linux-api-headers ncurses-dev"
17 # What is the latest version available today?
18 current_version()
19 {
20 wget -O - https://github.com/traviscross/mtr/tags 2>/dev/null | \
21 sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;q'
22 }
24 # Rules to configure and make the package.
25 compile_rules()
26 {
27 # ./bootstrap.sh
29 export LDFLAGS="$LDFLAGS -ltinfo"
31 ./configure \
32 --prefix=/usr \
33 --without-gtk \
34 --mandir=/usr/share/man \
35 $CONFIGURE_ARGS &&
36 make &&
37 make DESTDIR=$DESTDIR install
38 }
40 # Rules to gen a SliTaz package suitable for Tazpkg.
41 genpkg_rules()
42 {
43 mkdir -p $fs/usr
44 cp -a $install/usr/sbin $fs/usr
45 }