vp-build/srcpkgs/spiped/template

27 lines
703 B
Bash

# Template file for 'spiped'
pkgname=spiped
version=1.5.0
revision=7
build_style=gnu-makefile
makedepends="libressl-devel"
short_desc="The spiped secure pipe daemon"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
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
}
pre_build() {
export LDADD_EXTRA="$LDFLAGS"
}
do_install() {
vmkdir usr/bin
vmkdir usr/share/man/man1
make BINDIR=${DESTDIR}/usr/bin MAN1DIR=${DESTDIR}/usr/share/man/man1 install
vlicense COPYRIGHT
}