wok-next view mtr/receipt @ rev 18206
Up py3k (3.4.3)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Jul 15 13:37:20 2015 +0200 (2015-07-15) |
parents | bb009a6ef036 |
children | 951fae759049 |
line source
1 # SliTaz package receipt.
3 PACKAGE="mtr"
4 VERSION="0.82"
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"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 export LDFLAGS="$LDFLAGS -ltinfo"
20 ./configure \
21 --prefix=/usr \
22 --without-gtk \
23 --mandir=/usr/share/man \
24 $CONFIGURE_ARGS &&
25 make && make DESTDIR=$DESTDIR install
26 }
28 # Rules to gen a SliTaz package suitable for Tazpkg.
29 genpkg_rules()
30 {
31 mkdir -p $fs/usr
32 cp -a $install/usr/sbin $fs/usr
33 }