void-packages/srcpkgs/cachefilesd/template

22 lines
636 B
Bash

# Template file for 'cachefilesd'
pkgname=cachefilesd
version=0.10.9
revision=1
build_style=gnu-makefile
short_desc="Userspace daemon acting as a backend for FS-Cache"
maintainer="Enno Boland <gottox@voidlinux.eu>"
license="GPL-2"
homepage="https://people.redhat.com/~dhowells/fscache/"
distfiles="http://people.redhat.com/~dhowells/fscache/${pkgname}-${version}.tar.bz2"
checksum=c897ec6704615f26de3ddc20ff30a191ce995cb8973d2cde88b4b28c1a1e6bca
make_install_args="SBINDIR=/usr/bin BINDIR=/usr/bin"
conf_files="/etc/cachefilesd.conf"
do_configure() {
sed -i "s#/sbin/#/usr/bin/#g" cachefilesd.c
}
post_install() {
vsv cachefilesd
}