New package: cachefilesd-0.10.7
This commit is contained in:
parent
2ca6d19888
commit
afc0763963
2 changed files with 25 additions and 0 deletions
4
srcpkgs/cachefilesd/files/cachefilesd/run
Executable file
4
srcpkgs/cachefilesd/files/cachefilesd/run
Executable file
|
@ -0,0 +1,4 @@
|
||||||
|
#!/bin/sh
|
||||||
|
[ -r conf ] && . ./conf
|
||||||
|
modprobe cachefiles || exit 1
|
||||||
|
exec cachefilesd -n ${OPTS:= -f /etc/cachefilesd.conf}
|
21
srcpkgs/cachefilesd/template
Normal file
21
srcpkgs/cachefilesd/template
Normal file
|
@ -0,0 +1,21 @@
|
||||||
|
# Template file for 'cachefilesd'
|
||||||
|
pkgname=cachefilesd
|
||||||
|
version=0.10.7
|
||||||
|
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=193cca5efb37ee460a4ed8e1ed4878e3718e432ebe690ec4fe02486ef3f2494e
|
||||||
|
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
|
||||||
|
}
|
Loading…
Add table
Add a link
Reference in a new issue