aboutsummaryrefslogtreecommitdiffstats
path: root/testing/masscan/APKBUILD
blob: 73615b2c6a2591bc65d35669412da83aa95429eb (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
# Contributor: TBK <alpine@jjtc.eu>
# Maintainer: TBK <alpine@jjtc.eu>
pkgname=masscan
pkgver=1.0.5
pkgrel=0
pkgdesc="Mass IP port scanner - This is the fastest Internet port scanner."
url="https://github.com/robertdavidgraham/masscan"
arch="all"
license="AGPL-3.0"
depends="libpcap"
makedepends="clang-dev libpcap-dev linux-headers"
source="$pkgname-$pkgver.tar.gz::https://github.com/robertdavidgraham/$pkgname/archive/$pkgver.tar.gz"
builddir="$srcdir/$pkgname-$pkgver"

build() {
	cd "$builddir"
	make
}

check() {
	cd "$builddir"
	make test
}

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

sha512sums="55d58234994ebea10bcb3f45a24cdb51b020350faa116aee3a48861a119f66c339d1f533c978f52e37ccf5266be6fd2802765f13461d94eb28ec8d18c68e2f88  masscan-1.0.5.tar.gz"