wok view arpwatch/receipt @ rev 18280
Add tags to mate packages.
author | Yuri Pourre <yuripourre@gmail.com> |
---|---|
date | Sun Aug 09 17:29:42 2015 -0300 (2015-08-09) |
parents | d7486a2cc6d9 |
children | 04d824c95283 |
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="slaxemulator@gmail.com"
8 LICENSE="BSD"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="ftp://ftp.ee.lbl.gov"
11 WGET_URL="$WEB_SITE/$TARBALL"
13 DEPENDS="libpcap"
14 BUILD_DEPENDS="libpcap-dev"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 cd $src
20 sed -i 's|ARPDIR = $(prefix)/arpwatch|ARPDIR = /var/lib/arpwatch|' Makefile.in
21 sed -i 's|-o bin -g bin||' Makefile.in
22 ./configure $CONFIGURE_ARGS &&
23 make &&
24 install -d -m 755 $DESTDIR/usr/sbin
25 make install
27 #~ SENDMAIL=/usr/sbin/sendmail
28 }
30 # Rules to gen a SliTaz package suitable for Tazpkg.
31 genpkg_rules()
32 {
33 mkdir -p $fs/usr
34 cp -a $install/usr/sbin $fs/usr
35 install -d -m 0755 $fs/var/lib/arpwatch
36 touch $fs/var/lib/arpwatch/arp.dat
37 }