# Template file for 'spiped'
pkgname=spiped
version=1.4.2
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=dcb668f98a6bd761ff542f7079034f828f792259300eeb16aab53b687a805bde

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
}
