aboutsummaryrefslogtreecommitdiffstats
path: root/testing/arpon/APKBUILD
blob: f7d391a965cd896c295982e378534717d2111834 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
# Contributor: Fabian Affolter <fabian@affolter-engineering.ch>
# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch>
pkgname=arpon
pkgver=2.6
pkgrel=0
pkgdesc="ARP handler inspection"
url="http://arpon.sourceforge.net/"
arch="all"
license="BSD"
depends=""
depends_dev=""
makedepends="libpcap-dev libnet-dev libdnet-dev cmake"
install=""
subpackages="$pkgname-doc"
source="http://downloads.sourceforge.net/arpon/ArpON-$pkgver.tar.gz"
_builddir="$srcdir"/ArpON-$pkgver

build() {
	cd "$_builddir"
	cmake .
	make || return 1
}

package() {
	cd "$_builddir"
	make DESTDIR="$pkgdir" install || return 1
}

md5sums="9489883bf40ae9d5f9a3d987a29ab95d  ArpON-2.6.tar.gz"