void-packages/srcpkgs/ufw/template
2014-12-18 22:02:12 +01:00

24 lines
719 B
Text

# Template file for 'ufw'
pkgname=ufw
version=0.33
revision=3
build_options="systemd"
build_style=python-module
hostmakedepends="python iptables"
depends="${hostmakedepends}"
conf_files="/etc/default/ufw /etc/ufw/ufw.conf"
noarch="yes"
pycompile_module="ufw"
short_desc="Uncomplicated Firewall"
maintainer="Juan RP <xtraeme@gmail.com>"
homepage="https://launchpad.net/ufw"
license="GPL-3"
distfiles="http://launchpad.net/ufw/${version}/${version}/+download/ufw-${version}.tar.gz"
checksum=5f85a8084ad3539b547bec097286948233188c971f498890316dec170bdd1da8
post_install() {
if [ "$build_option_systemd" ]; then
vinstall ${FILESDIR}/ufw.service 644 usr/lib/systemd/system
fi
mv ${DESTDIR}/lib/* ${DESTDIR}/usr/lib/
}