void-packages/srcpkgs/preload/template

30 lines
774 B
Bash

# Template file for 'preload'
pkgname=preload
version=0.6.4
revision=12
build_style=gnu-configure
build_helper=qemu
hostmakedepends="pkg-config help2man"
makedepends="libglib-devel"
checkdepends="psmisc"
short_desc="Adaptive readahead daemon"
maintainer="Orphaned <orphan@voidlinux.org>"
license="GPL-2.0-or-later"
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
}