aboutsummaryrefslogtreecommitdiffstats
path: root/testing/ndisc6/APKBUILD
blob: 43630ac7649b9d83d322d7f7606a4ea5b17fd08b (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
# Contributor: Tyler A <tylera@privatedemail.net>
# Maintainer:
pkgname=ndisc6
pkgver=1.0.3
pkgrel=0
pkgdesc="ndisc6 gathers a few diagnostic tools for IPv6 networks including"
url="https://www.remlab.net/ndisc6"
arch="all"
license="GPL-2.0-or-later"
depends="perl"
makedepends="linux-headers"
install=""
subpackages="$pkgname-doc"
source="https://www.remlab.net/files/ndisc6/ndisc6-$pkgver.tar.bz2"
options="suid"

build() {
	cd "$builddir"
	./configure \
		--prefix=/usr \
		--localstatedir=/var 
	make
}

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

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

sha512sums="11dc9833edfc76650b46977d653686ed800dc1cc1dd069051410570f522d538ea9297b013a8d16b94aac3ebf33043cafdaee9fdccb5c02cc08b4c29ceaa96a54  ndisc6-1.0.3.tar.bz2"