void-packages/srcpkgs/diod/template

26 lines
803 B
Bash
Raw Normal View History

2016-01-07 17:32:18 +01:00
# Template file for 'diod'
pkgname=diod
version=1.0.24
revision=3
2016-01-07 17:32:18 +01:00
build_style=gnu-configure
conf_files="/etc/diod.conf"
2016-01-07 17:32:18 +01:00
hostmakedepends="autoconf"
makedepends="libcap-devel ncurses-devel attr-devel popt-devel gperftools-devel 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
2016-01-07 17:32:18 +01:00
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
2016-01-07 17:32:18 +01:00
}