wok-next view arpwatch/receipt @ rev 21020
Cleaning is almost finished... I should proceed to upgrades.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Nov 02 14:15:08 2018 +0200 (2018-11-02) |
parents | 11b5e93cb5f2 |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="arpwatch"
4 VERSION="2.1a15"
5 CATEGORY="network"
6 SHORT_DESC="arpwatch and arpsnmp network monitoring tools"
7 MAINTAINER="devel@slitaz.org"
8 LICENSE="BSD"
9 WEB_SITE="ftp://ftp.ee.lbl.gov/"
10 TARBALL="$PACKAGE-$VERSION.tar.gz"
11 WGET_URL="${WEB_SITE}$TARBALL"
13 DEPENDS="libpcap"
14 BUILD_DEPENDS="libpcap-dev"
16 compile_rules() {
17 sed -i 's|ARPDIR = $(prefix)/arpwatch|ARPDIR = /var/lib/arpwatch|' Makefile.in
18 sed -i 's|-o bin -g bin||' Makefile.in
19 install -dm755 $install/usr/sbin
21 ./configure $CONFIGURE_ARGS &&
22 make &&
23 make install
25 #~ SENDMAIL=/usr/sbin/sendmail
27 cook_pick_manpages $src/*.8
28 }
30 genpkg_rules() {
31 mkdir -p $fs/usr
32 cp -a $install/usr/sbin $fs/usr
33 install -d -m 0755 $fs/var/lib/arpwatch
34 touch $fs/var/lib/arpwatch/arp.dat
35 }