wok-next annotate arpwatch/receipt @ rev 20429
Remove sane-backends-dev
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Wed Jan 24 13:20:37 2018 +0200 (2018-01-24) |
parents | 04d824c95283 |
children | d5aab818505e |
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" |
al@19275 | 9 WEB_SITE="ftp://ftp.ee.lbl.gov/" |
slaxemulator@9521 | 10 TARBALL="$PACKAGE-$VERSION.tar.gz" |
al@19275 | 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 sed -i 's|ARPDIR = $(prefix)/arpwatch|ARPDIR = /var/lib/arpwatch|' Makefile.in |
slaxemulator@9521 | 20 sed -i 's|-o bin -g bin||' Makefile.in |
al@19267 | 21 ./configure $CONFIGURE_ARGS && |
pascal@15265 | 22 make && |
slaxemulator@9521 | 23 install -d -m 755 $DESTDIR/usr/sbin |
slaxemulator@9521 | 24 make install |
erjo@9885 | 25 |
erjo@9885 | 26 #~ SENDMAIL=/usr/sbin/sendmail |
al@19267 | 27 |
al@19275 | 28 cook_pick_manpages $src/*.8 |
slaxemulator@9521 | 29 } |
slaxemulator@9521 | 30 |
slaxemulator@9521 | 31 # Rules to gen a SliTaz package suitable for Tazpkg. |
slaxemulator@9521 | 32 genpkg_rules() |
slaxemulator@9521 | 33 { |
slaxemulator@9521 | 34 mkdir -p $fs/usr |
pascal@15245 | 35 cp -a $install/usr/sbin $fs/usr |
slaxemulator@9521 | 36 install -d -m 0755 $fs/var/lib/arpwatch |
slaxemulator@9521 | 37 touch $fs/var/lib/arpwatch/arp.dat |
slaxemulator@9521 | 38 } |