wok-next view mtr/receipt @ rev 19414

Up slitaz-dev-tools (258)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Sep 24 14:47:43 2016 +0200 (2016-09-24)
parents 951fae759049
children dfd47bf5561b
line source
1 # SliTaz package receipt.
3 PACKAGE="mtr"
4 VERSION="0.86"
5 CATEGORY="network"
6 SHORT_DESC="My traceroute."
7 MAINTAINER="paul@slitaz.org"
8 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://www.bitwizard.nl/mtr/"
11 WGET_URL="ftp://ftp.bitwizard.nl/mtr/$TARBALL"
13 DEPENDS="ncurses"
14 BUILD_DEPENDS="ncurses-dev autoconf automake"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 ./bootstrap.sh
20 export LDFLAGS="$LDFLAGS -ltinfo"
21 ./configure \
22 --prefix=/usr \
23 --without-gtk \
24 --mandir=/usr/share/man \
25 $CONFIGURE_ARGS &&
26 make && make DESTDIR=$DESTDIR install
27 }
29 # Rules to gen a SliTaz package suitable for Tazpkg.
30 genpkg_rules()
31 {
32 mkdir -p $fs/usr
33 cp -a $install/usr/sbin $fs/usr
34 }