wok annotate mtr/receipt @ rev 10417

texinfo: Added cook_tmp_toolchain function to fix tazwok cook-toolchain.
author Christopher Rogers <slaxemulator@gmail.com>
date Tue May 24 08:02:26 2011 +0000 (2011-05-24)
parents f9e4898d7ff8
children 9e7f44e2a0e9
rev   line source
paul@3598 1 # SliTaz package receipt.
paul@3598 2
paul@3598 3 PACKAGE="mtr"
paul@7098 4 VERSION="0.80"
paul@3598 5 CATEGORY="network"
paul@3598 6 SHORT_DESC="My traceroute."
paul@3598 7 MAINTAINER="paul@slitaz.org"
paul@3598 8 DEPENDS="ncurses"
paul@3598 9 BUILD_DEPENDS="ncurses-dev"
paul@3598 10 TARBALL="$PACKAGE-$VERSION.tar.gz"
paul@3598 11 WEB_SITE="http://www.bitwizard.nl/mtr/"
paul@3598 12 WGET_URL="ftp://ftp.bitwizard.nl/mtr/$TARBALL"
paul@3598 13
paul@3598 14 # Rules to configure and make the package.
paul@3598 15 compile_rules()
paul@3598 16 {
paul@3598 17 cd $src
paul@3598 18 ./configure \
paul@3598 19 --prefix=/usr \
paul@3598 20 --without-gtk \
paul@3598 21 --mandir=/usr/share/man \
paul@3598 22 $CONFIGURE_ARGS &&
paul@3598 23 make && make DESTDIR=$PWD/_pkg install
paul@3598 24 }
paul@3598 25
paul@3598 26 # Rules to gen a SliTaz package suitable for Tazpkg.
paul@3598 27 genpkg_rules()
paul@3598 28 {
paul@3598 29 mkdir -p $fs/usr
paul@3598 30 cp -a $_pkg/usr/sbin $fs/usr
paul@3598 31 }
paul@3598 32