2015-04-12 00:53:13 +02:00
|
|
|
# Template file for 'preload'
|
|
|
|
pkgname=preload
|
|
|
|
version=0.6.4
|
2015-04-12 23:29:06 +02:00
|
|
|
revision=4
|
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-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-04-12 23:29:06 +02:00
|
|
|
pre_build() {
|
|
|
|
if [ "$XBPS_TARGET_MACHINE" = "i686" ]; then
|
|
|
|
sed -i -e 's|/usr/i686-pc-linux-gnu/usr/lib32/glib-2.0/include|/usr/i686-pc-linux-gnu/usr/lib/glib-2.0/include|' Makefile doc/Makefile src/Makefile
|
|
|
|
fi
|
|
|
|
}
|
|
|
|
|
2015-04-12 00:53:13 +02:00
|
|
|
post_install() {
|
|
|
|
rm -rf etc/rc.d
|
|
|
|
rm -rf etc/logrotate.d
|
|
|
|
rm -rf etc/sysconfig
|
|
|
|
rm -rf var/log
|
|
|
|
vsv preload
|
|
|
|
}
|