wok-6.x view mtr/receipt @ rev 11351

get-flash-plugin: Add support to use /etc/slitaz/slitaz.conf file if it exist. If $INSTALLED doesn't exist, assign it to /var/lib/tazpkg/installed.
author Christopher Rogers <slaxemulator@gmail.com>
date Tue Nov 29 11:53:47 2011 +0000 (2011-11-29)
parents f9e4898d7ff8
children 9e7f44e2a0e9
line source
1 # SliTaz package receipt.
3 PACKAGE="mtr"
4 VERSION="0.80"
5 CATEGORY="network"
6 SHORT_DESC="My traceroute."
7 MAINTAINER="paul@slitaz.org"
8 DEPENDS="ncurses"
9 BUILD_DEPENDS="ncurses-dev"
10 TARBALL="$PACKAGE-$VERSION.tar.gz"
11 WEB_SITE="http://www.bitwizard.nl/mtr/"
12 WGET_URL="ftp://ftp.bitwizard.nl/mtr/$TARBALL"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 cd $src
18 ./configure \
19 --prefix=/usr \
20 --without-gtk \
21 --mandir=/usr/share/man \
22 $CONFIGURE_ARGS &&
23 make && make DESTDIR=$PWD/_pkg install
24 }
26 # Rules to gen a SliTaz package suitable for Tazpkg.
27 genpkg_rules()
28 {
29 mkdir -p $fs/usr
30 cp -a $_pkg/usr/sbin $fs/usr
31 }