aboutsummaryrefslogtreecommitdiffstats
path: root/main/xtables-addons/APKBUILD
blob: 9006c6930ff81b6b6334d9d50c8fc2ccca1cb609 (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
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=xtables-addons
pkgver=3.20
pkgrel=0
pkgdesc="Netfilter userspace extensions for iptables"
url="https://inai.de/projects/xtables-addons/"
arch="all"
license="GPL-2.0-only"
makedepends="iptables-dev bash coreutils"
subpackages="$pkgname-doc"
source="https://inai.de/files/xtables-addons/xtables-addons-$pkgver.tar.xz"
options="!check" # Package has no test suite

build() {
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--mandir=/usr/share/man \
		--without-kbuild
	make CC="${CC-gcc}" kbuilddir=
}

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

sha512sums="
0a38c12159dd555a31f24dc5a74d012b27723925df827edffe2343f6b8e61e838b5dc4776bafe37587e9622b9da1e9cd4220e4f576d58e78eb21ad18a419fb2e  xtables-addons-3.20.tar.xz
"