system/preload: Updated for version 0.6.4
Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
This commit is contained in:
parent
29fe1cd7bf
commit
3c22acedfd
|
@ -23,16 +23,14 @@
|
||||||
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||||
|
|
||||||
PRGNAM=preload
|
PRGNAM=preload
|
||||||
VERSION=0.6.3
|
VERSION=0.6.4
|
||||||
BUILD=${BUILD:-3}
|
BUILD=${BUILD:-1}
|
||||||
TAG=${TAG:-_SBo}
|
TAG=${TAG:-_SBo}
|
||||||
|
|
||||||
# Automatically determine the architecture we're building on:
|
|
||||||
if [ -z "$ARCH" ]; then
|
if [ -z "$ARCH" ]; then
|
||||||
case "$( uname -m )" in
|
case "$( uname -m )" in
|
||||||
i?86) ARCH=i486 ;;
|
i?86) ARCH=i486 ;;
|
||||||
arm*) ARCH=arm ;;
|
arm*) ARCH=arm ;;
|
||||||
# Unless $ARCH is already set, use uname -m for all other archs:
|
|
||||||
*) ARCH=$( uname -m ) ;;
|
*) ARCH=$( uname -m ) ;;
|
||||||
esac
|
esac
|
||||||
fi
|
fi
|
||||||
|
@ -78,13 +76,15 @@ CFLAGS="$SLKCFLAGS" \
|
||||||
--sysconfdir=/etc \
|
--sysconfdir=/etc \
|
||||||
--localstatedir=/var \
|
--localstatedir=/var \
|
||||||
--mandir=/usr/man \
|
--mandir=/usr/man \
|
||||||
--docdir=/usr/doc/$PRGNAM-$VERSON \
|
--docdir=/usr/doc/$PRGNAM-$VERSION \
|
||||||
--build=$ARCH-slackware-linux
|
--build=$ARCH-slackware-linux
|
||||||
|
|
||||||
cp $CWD/preload.8 .
|
cp $CWD/preload.8 .
|
||||||
|
|
||||||
make pkgdocdir=/usr/doc/$PRGNAM-$VERSION || \
|
make pkgdocdir=/usr/doc/$PRGNAM-$VERSION || \
|
||||||
make pkgdocdir=/usr/doc/$PRGNAM-$VERSION
|
make pkgdocdir=/usr/doc/$PRGNAM-$VERSION
|
||||||
|
# Yes, this is intentional
|
||||||
|
|
||||||
make install \
|
make install \
|
||||||
pkgdocdir=/usr/doc/$PRGNAM-$VERSION \
|
pkgdocdir=/usr/doc/$PRGNAM-$VERSION \
|
||||||
DESTDIR=$PKG
|
DESTDIR=$PKG
|
||||||
|
@ -92,6 +92,9 @@ make install \
|
||||||
find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
|
find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
|
||||||
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
|
| 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
|
# Create the lockfile directory
|
||||||
# We'll use /var/run/preload instead of /var/lock/subsys, so that a stale
|
# 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
|
# lockfile hanging around won't keep preload from starting on boot
|
||||||
|
|
|
@ -1,10 +1,10 @@
|
||||||
PRGNAM="preload"
|
PRGNAM="preload"
|
||||||
VERSION="0.6.3"
|
VERSION="0.6.4"
|
||||||
HOMEPAGE="http://sourceforge.net/projects/preload"
|
HOMEPAGE="http://sourceforge.net/projects/preload"
|
||||||
DOWNLOAD="http://downloads.sourceforge.net/preload/preload-0.6.3.tar.gz"
|
DOWNLOAD="http://downloads.sourceforge.net/preload/preload-0.6.4.tar.gz"
|
||||||
MD5SUM="4ebb8463b3b7a323ad8b7ffe89578f6e"
|
MD5SUM="10786287b55afd3a2b433b4f898809f4"
|
||||||
DOWNLOAD_x86_64=""
|
DOWNLOAD_x86_64=""
|
||||||
MD5SUM_x86_64=""
|
MD5SUM_x86_64=""
|
||||||
MAINTAINER="Robby Workman"
|
MAINTAINER="Robby Workman"
|
||||||
EMAIL="rw@rlworkman.net"
|
EMAIL="rw@rlworkman.net"
|
||||||
APPROVED="Michiel"
|
APPROVED="dsomero"
|
||||||
|
|
Loading…
Reference in New Issue