diff --git a/srcpkgs/spiped/template b/srcpkgs/spiped/template new file mode 100644 index 00000000000..7dfbd78f2f5 --- /dev/null +++ b/srcpkgs/spiped/template @@ -0,0 +1,23 @@ +# Template file for 'spiped' +pkgname=spiped +version=1.4.0 +revision=1 +build_style=gnu-makefile +makedepends="libressl-devel" +short_desc="The spiped secure pipe daemon" +maintainer="Juan RP " +license="2-clause-BSD" +homepage="http://www.tarsnap.com/spiped.html" +distfiles="http://www.tarsnap.com/spiped/spiped-${version}.tgz" +checksum=d8fa13a36905337bec97e507e0689f7bbc9e5426b88d588f3ddd3d6c290dcf5f + +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 +}