void-packages/srcpkgs/ferm/template

23 lines
619 B
Bash

# Template file for 'ferm'
pkgname=ferm
version=2.7
revision=1
hostmakedepends="perl"
depends="perl iptables"
checkdepends="perl-Net-DNS-Resolver-Mock"
short_desc="Frontend for iptables"
maintainer="johannes <johannes.brechtmann@gmail.com>"
license="GPL-2.0-or-later"
homepage="http://ferm.foo-projects.org/"
changelog="https://github.com/MaxKellermann/ferm/raw/master/NEWS"
distfiles="http://ferm.foo-projects.org/download/${version:0:3}/ferm-${version}.tar.xz"
checksum=c00d910d5394e69675608eb5ee0f504d5cfda41e990a2d9a91baac6df93e3f92
do_check() {
make check
}
do_install() {
make install PREFIX=${DESTDIR}/usr
}