aboutsummaryrefslogtreecommitdiffstats
path: root/main/ferm/APKBUILD
blob: d5eccce8b5a6b8e8aef9a830cb620c923244fed3 (plain) (blame)
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
# Contributor: Michael Mason <ms13sp@gmail.com>
# Maintainer: Michael Mason <ms13sp@gmail.com>
pkgname=ferm
pkgver=2.4.1
pkgrel=0
pkgdesc="firewall configuration tool"
url="http://ferm.foo-projects.org/"
arch="noarch"
license="GPL"
depends="perl iptables"
options="!check"
source="http://ferm.foo-projects.org/download/${pkgver%.*}/$pkgname-$pkgver.tar.xz"
builddir="$srcdir"/$pkgname-$pkgver

build() {
	return 0
}

package() {
	cd "$builddir"
	install -m755 -D "$srcdir"/"$pkgname-$pkgver"/src/ferm \
		"$pkgdir"/usr/sbin/"$pkgname"
	install -m755 -D "$srcdir"/"$pkgname-$pkgver"/src/import-ferm \
		"$pkgdir"/usr/sbin/import-ferm
}

sha512sums="beea4b8dd04e00662ef380442f8249c2d2dadf6d35b90e415038df807c8d08295d2575efbf3265f48f5e92afa174135a9c662f74d52545dd3e1c55a1436aa5bb  ferm-2.4.1.tar.xz"