# Description: Adaptive readahead daemon # URL: http://sourceforge.net/projects/preload/ # Maintainer: Mark Rosenstand, mark at borkware dot net # Depends on: glib name=preload version=0.4 release=3 source=(http://dl.sourceforge.net/sourceforge/preload/preload-$version.tar.gz) build() { cd preload-$version ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var make make DESTDIR=$PKG install cd $PKG rm -rv etc/{rc.d,logrotate.d,sysconfig} # preload(8) is generated by help2man if available, otherwise # it only contains "help2man is required to generate this file." rm -rv usr/man rm -r usr/share/doc rmdir usr/share # preload.state is installed 644 but changed to 640 on first run, # so we change the mode in the package to avoid rejmerge. chmod -v 640 var/lib/preload/preload.state }