# Template file for 'fwknop' pkgname=fwknop version=2.6.9 revision=1 build_style=gnu-configure configure_args="--with-gpg=${XBPS_CROSS_BASE}/usr/bin/gpg" hostmakedepends="iptables" makedepends="libpcap-devel gpgme-devel" short_desc="Single Packet Authorization (SPA) implementation" maintainer="Steve Prybylski " license="GPL-2" homepage="https://www.cipherdyne.org/fwknop/" distfiles="${homepage}/download/${pkgname}-${version}.tar.gz" checksum=9022a0e1b3ee1dc9cd1323efcc0e5f8f24bc521e19e9779efd9d23a3aa3e5577 fwknopd_package() { depends="iptables libfko>=${version}_${revision}" conf_files="/etc/fwknop/*.conf" short_desc+=" - server" pkg_install() { vmove etc/fwknop vmove usr/bin/fwknopd vmove usr/share/man/man8/fwknopd.8 vsv fwknopd } } libfko_package() { short_desc+=" - shared libraries" pkg_install() { vmove usr/lib/*.so.* } } libfko-devel_package() { depends="libfko>=${version}_${revision}" short_desc+=" - development files" pkg_install() { vmove usr/include vmove usr/lib/*.a vmove usr/lib/*.so } }