2015-04-11 22:53:13 +00:00
|
|
|
# Template file for 'preload'
|
|
|
|
pkgname=preload
|
|
|
|
version=0.6.4
|
2015-07-25 23:45:43 +00:00
|
|
|
revision=7
|
2015-04-11 22:53:13 +00:00
|
|
|
build_style=gnu-configure
|
2015-04-12 20:49:57 +00:00
|
|
|
hostmakedepends="pkg-config"
|
2015-04-11 22:53:13 +00:00
|
|
|
makedepends="libglib-devel"
|
2015-04-12 21:29:06 +00:00
|
|
|
disable_parallel_build=yes
|
2015-04-13 07:26:22 +00:00
|
|
|
conf_files="/etc/preload.conf"
|
2015-04-11 22:53:13 +00:00
|
|
|
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
|
2015-06-02 16:22:43 +00:00
|
|
|
configure_args="--sbindir=/usr/bin"
|
2015-07-25 23:45:43 +00:00
|
|
|
build_pie=yes
|
2015-04-11 22:53:13 +00:00
|
|
|
|
|
|
|
post_install() {
|
2015-04-13 07:26:22 +00:00
|
|
|
rm -rf ${DESTDIR}/etc/rc.d
|
|
|
|
rm -rf ${DESTDIR}/etc/logrotate.d
|
|
|
|
rm -rf ${DESTDIR}/etc/sysconfig
|
|
|
|
rm -rf ${DESTDIR}/var/log
|
2015-04-11 22:53:13 +00:00
|
|
|
vsv preload
|
|
|
|
}
|