wok-6.x view arpwatch/receipt @ rev 12828
zlib: first x86_64 package :-)
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Tue May 22 14:21:52 2012 +0200 (2012-05-22) |
parents | 1e19a2f13637 |
children | d7486a2cc6d9 |
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 DEPENDS="libpcap"
9 BUILD_DEPENDS="libpcap-dev"
10 TARBALL="$PACKAGE-$VERSION.tar.gz"
11 WEB_SITE="ftp://ftp.ee.lbl.gov"
12 WGET_URL="$WEB_SITE/$TARBALL"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 cd $src
18 sed -i 's|ARPDIR = $(prefix)/arpwatch|ARPDIR = /var/lib/arpwatch|' Makefile.in
19 sed -i 's|-o bin -g bin||' Makefile.in
20 ./configure $CONFIGURE_ARGS &&
21 make &&
22 install -d -m 755 $DESTDIR/usr/sbin
23 make install
25 #~ SENDMAIL=/usr/sbin/sendmail
26 }
28 # Rules to gen a SliTaz package suitable for Tazpkg.
29 genpkg_rules()
30 {
31 mkdir -p $fs/usr
32 cp -a $_pkg/usr/sbin $fs/usr
33 install -d -m 0755 $fs/var/lib/arpwatch
34 touch $fs/var/lib/arpwatch/arp.dat
35 }