void-packages/srcpkgs/preload/template

28 lines
727 B
Bash

# Template file for 'preload'
pkgname=preload
version=0.6.4
revision=11
build_style=gnu-configure
hostmakedepends="pkg-config"
makedepends="libglib-devel"
short_desc="Adaptive readahead daemon"
maintainer="bougyman <bougyman@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
}