# Contributor: Michael Mason <ms13sp@gmail.com>
# Maintainer: Michael Mason <ms13sp@gmail.com>
pkgname=ferm
pkgver=2.4
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.gz"
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="0b36b95a5ebb4cd306f9ab84ea12ce16c15d56ecc70c895261c74310f2474946ec1e73d63e7cda5becbfa875091c1362c715226776793c5b6ed179bf543ab27e  ferm-2.4.tar.gz"