wok-stable annotate mtr/receipt @ rev 11941
c_icap: Add initscript & fix configfile
author | Eric Joseph-Alexandre <erjo@slitaz.org> |
---|---|
date | Thu Mar 01 07:01:35 2012 +0100 (2012-03-01) |
parents | c582c74068f5 |
children |
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 |