void-packages/srcpkgs/preload/template

27 lines
716 B
Bash

# Template file for 'preload'
pkgname=preload
version=0.6.4
revision=10
build_style=gnu-configure
hostmakedepends="pkg-config"
makedepends="libglib-devel"
short_desc="Adaptive readahead daemon"
maintainer="bougyman <bougyman@voidlinux.org>"
license="GPL-2"
homepage="http://sourceforge.net/projects/preload"
distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
checksum=d0a558e83cb29a51d9d96736ef39f4b4e55e43a589ad1aec594a048ca22f816b
disable_parallel_build=yes
conf_files="/etc/preload.conf"
make_dirs="
/var/log/preload 0755 root root"
post_install() {
rm -rf ${DESTDIR}/etc/rc.d
rm -rf ${DESTDIR}/etc/logrotate.d
rm -rf ${DESTDIR}/etc/sysconfig
rm -rf ${DESTDIR}/var/log
vsv preload
}