APKBUILD 1.04 KB
Newer Older
Natanael Copa's avatar
Natanael Copa committed
1 2 3 4
# Contributor: Natanael Copa <ncopa@alpinelinux.org>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=arpon
pkgver=1.90
5
pkgrel=1
Natanael Copa's avatar
Natanael Copa committed
6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32
pkgdesc="Arp handler inspectiON is a handler daemon with tools to handle all ARP aspects"
url="http://arpon.sourceforge.net/"
license="GPL"
depends=""
makedepends="libdnet-dev libpcap-dev libnet-dev"
install=
subpackages="$pkgname-doc"
source="http://downloads.sourceforge.net/$pkgname/ArpON-$pkgver.tar.gz
	arpon.initd
	arpon.confd
	"

build() {
	cd "$srcdir"/ArpON-$pkgver
	sed -i -e '/^CFLAGS/s/-Werror//' Makefile

	# seems like it does not like the --as-needed
	export LDFLAGS=
	make linux || return 1
	install -D -m755 arpon "$pkgdir"/usr/sbin/arpon
	install -D man8/arpon.8 "$pkgdir"/usr/share/man/man8/arpon.8

	install -m755 -D "$srcdir"/$pkgname.initd "$pkgdir"/etc/init.d/$pkgname
	install -m644 -D "$srcdir"/$pkgname.confd "$pkgdir"/etc/conf.d/$pkgname
}

md5sums="41671d58190cf829b7c9049ae3fa8cdf  ArpON-1.90.tar.gz
33
4bf2cb423936b1ca84773fe6b7baaa73  arpon.initd
Natanael Copa's avatar
Natanael Copa committed
34
26986bed19b28cec66ed08447d22efaf  arpon.confd"