void-packages/srcpkgs/diod/template
2018-02-09 11:05:07 +00:00

25 lines
797 B
Bash

# Template file for 'diod'
pkgname=diod
version=1.0.24
revision=3
build_style=gnu-configure
conf_files="/etc/diod.conf"
hostmakedepends="autoconf"
makedepends="libcap-devel ncurses-devel attr-devel popt-devel gperftools lua51-devel munge-devel"
short_desc="I/O forwarding server for 9P"
maintainer="pulux <pulux@pf4sh.de>"
license="GPL-2"
homepage="https://github.com/chaos/diod"
distfiles="https://github.com/chaos/diod/releases/download/${version}/${pkgname}-${version}.tar.gz"
checksum=f41d2b91c1a712132f5457d9d1c3caca985f069bdc8ef27bf4c148ac1d9f8c9f
post_install() {
vsv diod
rm -rf ${DESTDIR}/etc/systemd
vsconf ${DESTDIR}/etc/auto.diod
rm -f ${DESTDIR}/etc/auto.diod
cd ${DESTDIR}/usr/bin
ln -s diodmount mount.diod
cd ${DESTDIR}/usr/share/man/man8
ln -s diodmount.8 mount.diod.8
}