void-packages/srcpkgs/arpwatch/template

23 lines
683 B
Bash

# Template file for 'arpwatch'
pkgname=arpwatch
version=3.7
revision=1
build_style=gnu-configure
configure_args="--with-sendmail=/usr/bin/sendmail"
makedepends="libpcap-devel"
short_desc="Ethernet/FDDI station activity monitor"
maintainer="Andrea Brancaleoni <abc@pompel.me>"
license="BSD-3-Clause-LBNL"
homepage="https://ee.lbl.gov/"
distfiles="https://ee.lbl.gov/downloads/arpwatch/arpwatch-${version}.tar.gz"
checksum=3eb63ea79fbafc8174653e557e28899873c4c3908c66fc81f6f29ced3a10987e
pre_configure() {
vsed -i '/@HAVE_FREEBSD_TRUE@/d' Makefile.in
}
pre_install() {
install -d -m 0755 $DESTDIR/usr/{bin,share/man/man8}
sed -n '1,27p' arpwatch.c > LICENSE && vlicense LICENSE
}