summaryrefslogtreecommitdiff
path: root/system/preload
diff options
context:
space:
mode:
authorRobby Workman <rw@rlworkman.net>2010-07-07 05:51:01 -0400
committerdsomero <xgizzmo@slackbuilds.org>2010-07-07 05:51:01 -0400
commit3c22acedfd53d6e9b8bf2fd398c51f73fb7438eb (patch)
tree84f95d850b77976c82441ca364bff5aceb8f31e2 /system/preload
parent29fe1cd7bf9372bf8fc10786d85f12a3dd96e326 (diff)
downloadslackbuilds-3c22acedfd53d6e9b8bf2fd398c51f73fb7438eb.tar.gz
system/preload: Updated for version 0.6.4
Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
Diffstat (limited to 'system/preload')
-rw-r--r--system/preload/preload.SlackBuild15
-rw-r--r--system/preload/preload.info8
2 files changed, 13 insertions, 10 deletions
diff --git a/system/preload/preload.SlackBuild b/system/preload/preload.SlackBuild
index a5fe11626b..e978d1e73f 100644
--- a/system/preload/preload.SlackBuild
+++ b/system/preload/preload.SlackBuild
@@ -23,16 +23,14 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=preload
-VERSION=0.6.3
-BUILD=${BUILD:-3}
+VERSION=0.6.4
+BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
-# Automatically determine the architecture we're building on:
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
i?86) ARCH=i486 ;;
arm*) ARCH=arm ;;
- # Unless $ARCH is already set, use uname -m for all other archs:
*) ARCH=$( uname -m ) ;;
esac
fi
@@ -78,13 +76,15 @@ CFLAGS="$SLKCFLAGS" \
--sysconfdir=/etc \
--localstatedir=/var \
--mandir=/usr/man \
- --docdir=/usr/doc/$PRGNAM-$VERSON \
+ --docdir=/usr/doc/$PRGNAM-$VERSION \
--build=$ARCH-slackware-linux
cp $CWD/preload.8 .
make pkgdocdir=/usr/doc/$PRGNAM-$VERSION || \
- make pkgdocdir=/usr/doc/$PRGNAM-$VERSION
+ make pkgdocdir=/usr/doc/$PRGNAM-$VERSION
+# Yes, this is intentional
+
make install \
pkgdocdir=/usr/doc/$PRGNAM-$VERSION \
DESTDIR=$PKG
@@ -92,6 +92,9 @@ make install \
find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
+# Clobber the bad manpage (I thought the stuff above fixed it)
+gzip -9c $CWD/preload.8 > $PKG/usr/man/man8/preload.8.gz
+
# Create the lockfile directory
# We'll use /var/run/preload instead of /var/lock/subsys, so that a stale
# lockfile hanging around won't keep preload from starting on boot
diff --git a/system/preload/preload.info b/system/preload/preload.info
index fee4f316c7..c40b09a0c4 100644
--- a/system/preload/preload.info
+++ b/system/preload/preload.info
@@ -1,10 +1,10 @@
PRGNAM="preload"
-VERSION="0.6.3"
+VERSION="0.6.4"
HOMEPAGE="http://sourceforge.net/projects/preload"
-DOWNLOAD="http://downloads.sourceforge.net/preload/preload-0.6.3.tar.gz"
-MD5SUM="4ebb8463b3b7a323ad8b7ffe89578f6e"
+DOWNLOAD="http://downloads.sourceforge.net/preload/preload-0.6.4.tar.gz"
+MD5SUM="10786287b55afd3a2b433b4f898809f4"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
MAINTAINER="Robby Workman"
EMAIL="rw@rlworkman.net"
-APPROVED="Michiel"
+APPROVED="dsomero"