aboutsummaryrefslogtreecommitdiffstats
path: root/main/xtables-addons/APKBUILD
blob: e62da4bd8d57b8b4dcf291eb2a1cedc755f730b2 (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.3
pkgrel=0
pkgdesc="Netfilter userspace extensions for iptables"
url="http://xtables-addons.sourceforge.net/"
arch="all"
license="GPL"
makedepends="iptables-dev bash coreutils"
subpackages="$pkgname-doc"
source="https://downloads.sourceforge.net/$pkgname/$pkgver/$pkgname-$pkgver.tar.xz"
options="!check" # Package has no test suite

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

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

sha512sums="76e76f8cb385d1f471b01c60be1561910123a4a083374a3976fae98943197c3e77fad62363addba8d14d0aaf23713df9a10a22b1906bbdbb702a61c297d3cb3c  xtables-addons-3.3.tar.xz"