wok view mtr/receipt @ rev 19899
linld: fix seekset link error
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Apr 08 12:48:12 2017 +0200 (2017-04-08) |
parents | 66f45448c117 |
children | 838f98bae55e |
line source
1 # SliTaz package receipt.
3 PACKAGE="mtr"
4 VERSION="0.87"
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 }