aboutsummaryrefslogtreecommitdiffstats
path: root/testing/ndisc6/APKBUILD
blob: 39015e02e791e94327f4b75c973564ae9443edf9 (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: Tyler A <tylera@privatedemail.net>
# Maintainer: Kevin Daudt <kdaudt@alpinelinux.org>
pkgname=ndisc6
pkgver=1.0.4
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"
subpackages="$pkgname-doc"
source="https://www.remlab.net/files/ndisc6/ndisc6-$pkgver.tar.bz2
	remove-undef-gnu-source.patch
	"
options="suid"

build() {
	./configure \
		--build=$BUILD \
		--host=$CHOST \
		--prefix=/usr \
		--localstatedir=/var \
		--sysconfdir=/etc
	make
}

check() {
	make check
}

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

sha512sums="6f6cd939fb7079518db5c1bcd11353c722237d7735d229f9fd20d03e9f16b1ddf07c7c78c91364886148f2a82d6805eafe7e27da6b4e7c99b111603ec5fab842  ndisc6-1.0.4.tar.bz2
d70c74f965308afbfc266071ec0d073d59cfd42f250e27c8f4f3e1c7b849a6bb9226407e74af30366d348e4213c7497791e8f2edc7b903703e611c036c250644  remove-undef-gnu-source.patch"