wok-next annotate mtr/receipt @ rev 15941

compton: need dbus
author Christophe Lincoln <pankso@slitaz.org>
date Sat Feb 22 19:47:45 2014 +0100 (2014-02-22)
parents 9e7f44e2a0e9
children 17e313b5b9c1
rev   line source
paul@3598 1 # SliTaz package receipt.
paul@3598 2
paul@3598 3 PACKAGE="mtr"
samuel_trassare@11765 4 VERSION="0.82"
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@15583 14 BUILD_DEPENDS="ncurses-dev"
pascal@15583 15
paul@3598 16 # Rules to configure and make the package.
paul@3598 17 compile_rules()
paul@3598 18 {
paul@3598 19 cd $src
paul@3598 20 ./configure \
paul@3598 21 --prefix=/usr \
paul@3598 22 --without-gtk \
paul@3598 23 --mandir=/usr/share/man \
paul@3598 24 $CONFIGURE_ARGS &&
pascal@15583 25 make && make DESTDIR=$DESTDIR install
paul@3598 26 }
paul@3598 27
paul@3598 28 # Rules to gen a SliTaz package suitable for Tazpkg.
paul@3598 29 genpkg_rules()
paul@3598 30 {
paul@3598 31 mkdir -p $fs/usr
pascal@15583 32 cp -a $install/usr/sbin $fs/usr
paul@3598 33 }
paul@3598 34