aboutsummaryrefslogtreecommitdiff
path: root/development/patchutils
diff options
context:
space:
mode:
Diffstat (limited to 'development/patchutils')
-rw-r--r--development/patchutils/patchutils.SlackBuild8
1 files changed, 3 insertions, 5 deletions
diff --git a/development/patchutils/patchutils.SlackBuild b/development/patchutils/patchutils.SlackBuild
index f54e9c7de4f9e..c3579510b3387 100644
--- a/development/patchutils/patchutils.SlackBuild
+++ b/development/patchutils/patchutils.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for patchutils
-# Copyright 2008-2012 Robby Workman, Northport, Alabama, USA
+# Copyright 2008-2012 Robby Workman, Northport, Alabama, USA
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -29,12 +29,10 @@ VERSION=${VERSION:-0.3.3}
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
@@ -65,7 +63,7 @@ mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
tar xvf $CWD/$PRGNAM-$VERSION.tar.xz
-cd $PRGNAM-$VERSION
+cd $PRGNAM-$VERSION
chown -R root:root .
find . \
\( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \
@@ -82,7 +80,7 @@ CFLAGS="$SLKCFLAGS" \
--mandir=/usr/man \
--build=$ARCH-slackware-linux
-make
+make
make install DESTDIR=$PKG
find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \