void-packages/srcpkgs/preload/template

25 lines
705 B
Bash

# Template file for 'preload'
pkgname=preload
version=0.6.4
revision=7
build_style=gnu-configure
hostmakedepends="pkg-config"
makedepends="libglib-devel"
disable_parallel_build=yes
conf_files="/etc/preload.conf"
short_desc="An adaptive readahead daemon"
maintainer="bougyman <bougyman@voidlinux.eu>"
license="GPL-2"
homepage="http://sourceforge.net/projects/preload"
distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
checksum=d0a558e83cb29a51d9d96736ef39f4b4e55e43a589ad1aec594a048ca22f816b
configure_args="--sbindir=/usr/bin"
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
}