wok annotate arpwatch/receipt @ rev 16705
tazndis: tazndisbox depends on gtkdialog
author | Richard Dunbar <mojo@slitaz.org> |
---|---|
date | Wed May 28 10:36:19 2014 +0000 (2014-05-28) |
parents | d7486a2cc6d9 |
children | 04d824c95283 |
rev | line source |
---|---|
slaxemulator@9521 | 1 # SliTaz package receipt. |
slaxemulator@9521 | 2 |
slaxemulator@9521 | 3 PACKAGE="arpwatch" |
slaxemulator@9521 | 4 VERSION="2.1a15" |
slaxemulator@9521 | 5 CATEGORY="network" |
slaxemulator@9521 | 6 SHORT_DESC="arpwatch and arpsnmp network monitoring tools" |
slaxemulator@9521 | 7 MAINTAINER="slaxemulator@gmail.com" |
pascal@15245 | 8 LICENSE="BSD" |
slaxemulator@9521 | 9 TARBALL="$PACKAGE-$VERSION.tar.gz" |
slaxemulator@9521 | 10 WEB_SITE="ftp://ftp.ee.lbl.gov" |
slaxemulator@9521 | 11 WGET_URL="$WEB_SITE/$TARBALL" |
slaxemulator@9521 | 12 |
pascal@15245 | 13 DEPENDS="libpcap" |
pascal@15245 | 14 BUILD_DEPENDS="libpcap-dev" |
pascal@15245 | 15 |
slaxemulator@9521 | 16 # Rules to configure and make the package. |
slaxemulator@9521 | 17 compile_rules() |
slaxemulator@9521 | 18 { |
slaxemulator@9521 | 19 cd $src |
slaxemulator@9521 | 20 sed -i 's|ARPDIR = $(prefix)/arpwatch|ARPDIR = /var/lib/arpwatch|' Makefile.in |
slaxemulator@9521 | 21 sed -i 's|-o bin -g bin||' Makefile.in |
slaxemulator@10050 | 22 ./configure $CONFIGURE_ARGS && |
pascal@15265 | 23 make && |
slaxemulator@9521 | 24 install -d -m 755 $DESTDIR/usr/sbin |
slaxemulator@9521 | 25 make install |
erjo@9885 | 26 |
erjo@9885 | 27 #~ SENDMAIL=/usr/sbin/sendmail |
slaxemulator@9521 | 28 } |
slaxemulator@9521 | 29 |
slaxemulator@9521 | 30 # Rules to gen a SliTaz package suitable for Tazpkg. |
slaxemulator@9521 | 31 genpkg_rules() |
slaxemulator@9521 | 32 { |
slaxemulator@9521 | 33 mkdir -p $fs/usr |
pascal@15245 | 34 cp -a $install/usr/sbin $fs/usr |
slaxemulator@9521 | 35 install -d -m 0755 $fs/var/lib/arpwatch |
slaxemulator@9521 | 36 touch $fs/var/lib/arpwatch/arp.dat |
slaxemulator@9521 | 37 } |
slaxemulator@9521 | 38 |