aboutsummaryrefslogtreecommitdiff
path: root/system/preload/preload.SlackBuild
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/preload.SlackBuild
parent29fe1cd7bf9372bf8fc10786d85f12a3dd96e326 (diff)
system/preload: Updated for version 0.6.4
Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
Diffstat (limited to 'system/preload/preload.SlackBuild')
-rw-r--r--system/preload/preload.SlackBuild15
1 files changed, 9 insertions, 6 deletions
diff --git a/system/preload/preload.SlackBuild b/system/preload/preload.SlackBuild
index a5fe11626b50e..e978d1e73f2db 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