aboutsummaryrefslogtreecommitdiffstats
path: root/testing/arp-scan/APKBUILD
blob: fa6eeb967316afc595e398d3f6eb722d4fcffdaf (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
30
31
32
33
34
35
36
37
# Contributor: Antoine Tenart <antoine.tenart@ack.tf>
# Maintainer: Antoine Tenart <antoine.tenart@ack.tf>
pkgname=arp-scan
pkgver=1.9.7
pkgrel=0
pkgdesc="Address Resolution Protocol (ARP) packet scanner"
url="https://github.com/royhills/arp-scan"
arch="all"
license="GPL-3.0-or-later"
makedepends="autoconf automake libpcap-dev libtool"
subpackages="$pkgname-doc"
source="$pkgname-$pkgver.tar.gz::https://github.com/royhills/arp-scan/archive/$pkgver.tar.gz"


prepare() {
	default_prepare
	autoreconf -vfi
}

build() {
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--mandir=/usr/share/man
	make
}

check() {
	make check
}

package() {
	make DESTDIR="$pkgdir" install
}

sha512sums="2aa808521a64cd3e2a6a270c6725f2cffa4cfce5c251e5483053c8ea9f56fb1368dd9aae2afcf8fffe1030fe2fc37723f0701c9eafa7cd1d52df459c07a80870  arp-scan-1.9.7.tar.gz"