wok view mtr/receipt @ rev 18745

linux*zram: add CONFIG_FILES (again)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Dec 25 21:45:26 2015 +0100 (2015-12-25)
parents bb009a6ef036
children 951fae759049
line source
1 # SliTaz package receipt.
3 PACKAGE="mtr"
4 VERSION="0.82"
5 CATEGORY="network"
6 SHORT_DESC="My traceroute."
7 MAINTAINER="paul@slitaz.org"
8 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://www.bitwizard.nl/mtr/"
11 WGET_URL="ftp://ftp.bitwizard.nl/mtr/$TARBALL"
13 DEPENDS="ncurses"
14 BUILD_DEPENDS="ncurses-dev"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 export LDFLAGS="$LDFLAGS -ltinfo"
20 ./configure \
21 --prefix=/usr \
22 --without-gtk \
23 --mandir=/usr/share/man \
24 $CONFIGURE_ARGS &&
25 make && make DESTDIR=$DESTDIR install
26 }
28 # Rules to gen a SliTaz package suitable for Tazpkg.
29 genpkg_rules()
30 {
31 mkdir -p $fs/usr
32 cp -a $install/usr/sbin $fs/usr
33 }