wok-6.x annotate mtr/receipt @ rev 12344
Up: mercurial to 2.1.2.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Thu Apr 19 10:12:24 2012 +0000 (2012-04-19) |
parents | c582c74068f5 |
children | bb009a6ef036 |
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" |
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 |