summaryrefslogtreecommitdiff
path: root/system/preload
diff options
context:
space:
mode:
Diffstat (limited to 'system/preload')
-rw-r--r--system/preload/preload.SlackBuild6
-rw-r--r--system/preload/preload.info2
-rw-r--r--system/preload/slack-desc10
3 files changed, 12 insertions, 6 deletions
diff --git a/system/preload/preload.SlackBuild b/system/preload/preload.SlackBuild
index aa32d58ebd..46f1bd035e 100644
--- a/system/preload/preload.SlackBuild
+++ b/system/preload/preload.SlackBuild
@@ -35,10 +35,13 @@ OUTPUT=${OUTPUT:-/tmp}
if [ "$ARCH" = "i486" ]; then
SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+ LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
+ LIBDIRSUFFIX=""
elif [ "$ARCH" = "x86_64" ]; then
SLKCFLAGS="-O2 -fPIC"
+ LIBDIRSUFFIX="64"
fi
set -e
@@ -59,6 +62,7 @@ find . \
CFLAGS="$SLKCFLAGS" \
./configure \
--prefix=/usr \
+ --libdir=/usr/lib${LIBDIRSUFFIX} \
--sysconfdir=/etc \
--localstatedir=/var \
--mandir=/usr/man \
@@ -106,4 +110,4 @@ cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.tgz
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
diff --git a/system/preload/preload.info b/system/preload/preload.info
index b2a99774dd..b2f5e203aa 100644
--- a/system/preload/preload.info
+++ b/system/preload/preload.info
@@ -2,7 +2,9 @@ PRGNAM="preload"
VERSION="0.6.3"
HOMEPAGE="http://sourceforge.net/projects/preload"
DOWNLOAD="http://downloads.sourceforge.net/preload/preload-0.6.3.tar.gz"
+DOWNLOAD_x86_64=""
MD5SUM="4ebb8463b3b7a323ad8b7ffe89578f6e"
+MD5SUM_x86_64=""
MAINTAINER="Robby Workman"
EMAIL="rw@rlworkman.net"
APPROVED="Michiel"
diff --git a/system/preload/slack-desc b/system/preload/slack-desc
index 6c28f9b073..d0bf575015 100644
--- a/system/preload/slack-desc
+++ b/system/preload/slack-desc
@@ -7,13 +7,13 @@
|-----handy-ruler-----------------------------------------------------|
preload: preload (adaptive readahead daemon)
-preload:
+preload:
preload: preload is an adaptive readahead daemon. It monitors applications
preload: that users run, and by analyzing this data, predicts what apps
preload: users might run, and fetches those binaries and their dependencies
preload: into memory for faster startup times.
-preload:
+preload:
preload: Homepage: http://sourceforge.net/projects/preload
-preload:
-preload:
-preload:
+preload:
+preload:
+preload: