wok-next annotate mtr/receipt @ rev 19580

Up: iproute2. Extra up: libmnl, db.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Tue Dec 27 11:15:02 2016 +0200 (2016-12-27)
parents 66f45448c117
children 466bca9334ef
rev   line source
paul@3598 1 # SliTaz package receipt.
paul@3598 2
paul@3598 3 PACKAGE="mtr"
paul@19470 4 VERSION="0.87"
paul@3598 5 CATEGORY="network"
paul@3598 6 SHORT_DESC="My traceroute."
paul@3598 7 MAINTAINER="paul@slitaz.org"
pascal@15583 8 LICENSE="GPL2"
paul@3598 9 TARBALL="$PACKAGE-$VERSION.tar.gz"
paul@3598 10 WEB_SITE="http://www.bitwizard.nl/mtr/"
paul@3598 11 WGET_URL="ftp://ftp.bitwizard.nl/mtr/$TARBALL"
paul@3598 12
pascal@15583 13 DEPENDS="ncurses"
pascal@18936 14 BUILD_DEPENDS="ncurses-dev autoconf automake"
pascal@15583 15
paul@3598 16 # Rules to configure and make the package.
paul@3598 17 compile_rules()
paul@3598 18 {
pascal@18936 19 ./bootstrap.sh
pascal@17670 20 export LDFLAGS="$LDFLAGS -ltinfo"
paul@3598 21 ./configure \
paul@3598 22 --prefix=/usr \
paul@3598 23 --without-gtk \
paul@3598 24 --mandir=/usr/share/man \
paul@3598 25 $CONFIGURE_ARGS &&
pascal@15583 26 make && make DESTDIR=$DESTDIR install
paul@3598 27 }
paul@3598 28
paul@3598 29 # Rules to gen a SliTaz package suitable for Tazpkg.
paul@3598 30 genpkg_rules()
paul@3598 31 {
paul@3598 32 mkdir -p $fs/usr
pascal@15583 33 cp -a $install/usr/sbin $fs/usr
paul@3598 34 }