aboutsummaryrefslogtreecommitdiffstats
path: root/testing/arp-scan/APKBUILD
blob: 228e917f7110494492bfca9741026bf8e90c6472 (plain) (blame)
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.6
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="c2d56ab8c6e1a046919892f6c2750593d6fbb3a539c3e1736184bd37ff7ae6033f84b62a3d2b4f56c0f2cdc1752002cb010ce77f701ee2f87b6f14b2e1753fe6  arp-scan-1.9.6.tar.gz"