void-packages/srcpkgs/firehol/template

25 lines
775 B
Bash

# Template file for 'firehol'
pkgname=firehol
version=3.1.6
revision=1
build_style=gnu-configure
configure_args="--disable-doc --disable-man"
hostmakedepends="automake iproute2 kmod procps-ng iprange iputils traceroute curl ipset tar"
depends="iproute2 kmod procps-ng iprange iputils traceroute curl ipset"
short_desc="Firewall for humans"
maintainer="juan <juan@horlux.org>"
license="GPL-2.0-or-later"
homepage="https://github.com/firehol/firehol/"
distfiles="https://github.com/firehol/firehol/archive/v${version}.tar.gz"
checksum=dc71650a933c1fd420956813d79f9a058bcf3cbaa84b928536a53995ecb889e4
pre_configure() {
./autogen.sh
export BASH_VERSION_PATH=$(bash --version|head -n 1)
export IPRANGE_VERSION=$(iprange --version|head -n 1)
}
post_install() {
vsv firehol
}