APKBUILD 788 Bytes
Newer Older
Michael Mason's avatar
Michael Mason committed
1 2 3
# Contributor: Michael Mason <ms13sp@gmail.com>
# Maintainer: Michael Mason <ms13sp@gmail.com>
pkgname=ferm
4
pkgver=2.4
Natanael Copa's avatar
Natanael Copa committed
5
pkgrel=0
Michael Mason's avatar
Michael Mason committed
6 7
pkgdesc="firewall configuration tool"
url="http://ferm.foo-projects.org/"
Natanael Copa's avatar
Natanael Copa committed
8
arch="noarch"
Michael Mason's avatar
Michael Mason committed
9 10
license="GPL"
depends="perl iptables"
11 12 13
options="!check"
source="http://ferm.foo-projects.org/download/$pkgver/$pkgname-$pkgver.tar.gz"
builddir="$srcdir"/$pkgname-$pkgver
Michael Mason's avatar
Michael Mason committed
14 15

build() {
Natanael Copa's avatar
Natanael Copa committed
16 17 18 19
	return 0
}

package() {
20
	cd "$builddir"
21
	install -m755 -D "$srcdir"/"$pkgname-$pkgver"/src/ferm \
22
		"$pkgdir"/usr/sbin/"$pkgname"
23
	install -m755 -D "$srcdir"/"$pkgname-$pkgver"/src/import-ferm \
24
		"$pkgdir"/usr/sbin/import-ferm
Michael Mason's avatar
Michael Mason committed
25 26
}

27
sha512sums="0b36b95a5ebb4cd306f9ab84ea12ce16c15d56ecc70c895261c74310f2474946ec1e73d63e7cda5becbfa875091c1362c715226776793c5b6ed179bf543ab27e  ferm-2.4.tar.gz"