wok view mtr/receipt @ rev 24838

updated libtirpc and libtirpc-dev (1.2.5 -> 1.3.2)
author Hans-G?nter Theisgen
date Fri Mar 25 07:49:01 2022 +0100 (2022-03-25)
parents bc2b9d9bed6f
children 9a5de86d3449
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="https://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 }