summaryrefslogtreecommitdiffstats
path: root/main/shorewall-shell/APKBUILD
blob: e543c1f03596cc799c070e0c4eb03830fb687298 (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=shorewall-shell
_v=4.2.10
pkgver=4.2.10
pkgrel=1
pkgdesc="Shoreline Firewall shell-based compiler."
url="http://www.shorewall.net/"
arch="x86 x86_64"
license="GPL-2"
depends="shorewall-common"
#subpackages="$pkgname-doc"
source="http://www.shorewall.net/pub/shorewall/${_v%.*}/shorewall-$_v/$pkgname-$pkgver.tar.bz2
	shorewall-policyrouting.patch
	"

prepare() {
	cd "$srcdir"/$pkgname-$pkgver
	for i in ../*.patch; do
		msg "Applying $i..."
		patch -p1 -i $i || return 1
	done
}

build() {
	cd "$srcdir"/$pkgname-$pkgver
	PREFIX="$pkgdir" ./install.sh || return 1
}

md5sums="d6f7cbc3c502c09921ede920547d5017  shorewall-shell-4.2.10.tar.bz2
64c01bc4f57203fb877bb334994eac38  shorewall-policyrouting.patch"