aboutsummaryrefslogtreecommitdiffstats
path: root/main/xtables-addons/APKBUILD
blob: d31d7036083526d40b649d0b6cf6a847d6e0ee0a (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
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=xtables-addons
pkgver=1.21
pkgrel=1
pkgdesc="Netfilter userspace extensions for iptables"
url="http://xtables-addons.sourceforge.net/"
license="GPL"
depends=
makedepends="iptables-dev pkgconfig bash"
install=
subpackages="$pkgname-doc"
source="http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.bz2"

build() {
	cd "$srcdir/$pkgname-$pkgver"

	./configure --prefix=/usr \
		--mandir=/usr/share/man \
		--without-kbuild 

	make CC="${CC-gcc}" kbuilddir=
}

package() {
	cd "$srcdir/$pkgname-$pkgver"
	make builddir= DESTDIR="$pkgdir" install
}

md5sums="b7aa7bddb29719fc92e020ef2eeb95fb  xtables-addons-1.21.tar.bz2"