system/preload: Updated for version 0.6.4

Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
This commit is contained in:
Robby Workman 2010-07-07 05:51:01 -04:00 committed by dsomero
parent 29fe1cd7bf
commit 3c22acedfd
2 changed files with 13 additions and 10 deletions

View File

@ -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

View File

@ -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"