void-packages/srcpkgs/spiped/template

24 lines
660 B
Bash

# Template file for 'spiped'
pkgname=spiped
version=1.5.0
revision=2
build_style=gnu-makefile
makedepends="libressl-devel>=2.1.4"
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=b2f74b34fb62fd37d6e2bfc969a209c039b88847e853a49e91768dec625facd7
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
}