blob: 57a5527ed6088b3b51be8b77d9130cd42f860ba8 (
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.5
pkgrel=0
pkgdesc="Netfilter userspace extensions for iptables"
url="http://xtables-addons.sourceforge.net/"
arch="all"
license="GPL-2.0-only"
makedepends="iptables-dev bash coreutils"
subpackages="$pkgname-doc"
source="https://downloads.sourceforge.net/xtables-addons/$pkgver/xtables-addons-$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="25f7d71558773f4eb9a21956b5e60f9243e9049d4cc169823d06c71970ea01e16fc6799b555e6b4e09008b5869647f3f22b9cb869f8c158d71ccb12f67ee46e8 xtables-addons-3.5.tar.xz"
|