void-packages/srcpkgs/spiped/template
Juan RP 1c5f4690e6 xbps-src: always require current srcpkgs version in build dependencies.
That means that version comparators are not supported anymore in
hostmakedepends and makedepends.

This will ensure that a pkg is always built with the same build dependencies
everywhere, if the srcpkgs tree is uptodate.
2015-03-27 10:59:58 +01:00

23 lines
653 B
Bash

# Template file for 'spiped'
pkgname=spiped
version=1.5.0
revision=2
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=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
}