wok-current annotate mtr/receipt @ rev 5323

Added get-prince
author Liu Peng <rocky@slitaz.org>
date Fri Apr 23 00:46:08 2010 +0000 (2010-04-23)
parents
children c582c74068f5
rev   line source
paul@3598 1 # SliTaz package receipt.
paul@3598 2
paul@3598 3 PACKAGE="mtr"
paul@3598 4 VERSION="0.75"
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