wok-6.x view mtr/receipt @ rev 16595
speedcrunch: do not fail when ./build exists
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed May 07 08:07:35 2014 +0000 (2014-05-07) |
parents | 9e7f44e2a0e9 |
children | 17e313b5b9c1 |
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 cd $src
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 }