2015-04-12 00:53:13 +02:00
|
|
|
# Template file for 'preload'
|
|
|
|
pkgname=preload
|
|
|
|
version=0.6.4
|
2015-07-26 01:45:43 +02:00
|
|
|
revision=7
|
2015-04-12 00:53:13 +02:00
|
|
|
build_style=gnu-configure
|
2015-04-12 22:49:57 +02:00
|
|
|
hostmakedepends="pkg-config"
|
2015-04-12 00:53:13 +02:00
|
|
|
makedepends="libglib-devel"
|
2015-04-12 23:29:06 +02:00
|
|
|
disable_parallel_build=yes
|
2015-04-13 09:26:22 +02:00
|
|
|
conf_files="/etc/preload.conf"
|
2015-04-12 00:53:13 +02: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 18:22:43 +02:00
|
|
|
configure_args="--sbindir=/usr/bin"
|
2015-07-26 01:45:43 +02:00
|
|
|
build_pie=yes
|
2015-04-12 00:53:13 +02:00
|
|
|
|
|
|
|
post_install() {
|
2015-04-13 09:26:22 +02: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-12 00:53:13 +02:00
|
|
|
vsv preload
|
|
|
|
}
|