# Template file for 'spiped'
pkgname=spiped
version=1.4.1
revision=1
build_style=gnu-makefile
makedepends="libressl-devel"
short_desc="The spiped secure pipe daemon"
maintainer="Juan RP <xtraeme@gmail.com>"
license="2-clause-BSD"
homepage="http://www.tarsnap.com/spiped.html"
distfiles="http://www.tarsnap.com/spiped/spiped-${version}.tgz"
checksum=0eeb4b8a94df985cfb60f452ced75f30509105a120ca09f740507c496c15c4f8

pre_install() {
	# remove hardcoded strip(1)
	sed -i '/strip .*/d' */Makefile
}
do_install() {
	vmkdir usr/bin
	vmkdir usr/share/man/man1
	make BINDIR=${DESTDIR}/usr/bin MAN1DIR=${DESTDIR}/usr/share/man/man1 install
	vlicense COPYRIGHT
}
