27 lines
751 B
Bash
27 lines
751 B
Bash
# Template file for 'spiped'
|
|
pkgname=spiped
|
|
version=1.6.2
|
|
revision=1
|
|
build_style=gnu-makefile
|
|
makedepends="openssl-devel"
|
|
short_desc="Spiped secure pipe daemon"
|
|
maintainer="Leah Neukirchen <leah@vuxu.org>"
|
|
license="BSD-2-Clause"
|
|
homepage="http://www.tarsnap.com/spiped.html"
|
|
distfiles="http://www.tarsnap.com/spiped/spiped-${version}.tgz"
|
|
checksum=05d4687d12d11d7f9888d43f3d80c541b7721c987038d085f71c91bb06204567
|
|
|
|
pre_build() {
|
|
export LDADD_EXTRA="$LDFLAGS"
|
|
case "$XBPS_TARGET_MACHINE" in
|
|
# needs special -march
|
|
aarch64*) echo '#define CPUSUPPORT_NONE 1' > cpusupport-config.h;;
|
|
esac
|
|
}
|
|
do_install() {
|
|
vmkdir usr/bin
|
|
vmkdir usr/share/man/man1
|
|
make BINDIR=${DESTDIR}/usr/bin MAN1DIR=${DESTDIR}/usr/share/man/man1 install
|
|
vlicense COPYRIGHT
|
|
}
|