summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWilly Sudiarto Raharjo <willysr@slackbuilds.org>2013-11-16 07:33:09 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2013-11-16 07:33:09 +0700
commit5d46ce0265ae5e8fc06ea978ac888f527d22e39b (patch)
treef38e2596bc88832b01ee01c5b1fffa761b94c41a
parent832d9d694f3a1ff1a25c567e834f11e52a310258 (diff)
downloadslackbuilds-5d46ce0265ae5e8fc06ea978ac888f527d22e39b.tar.gz
development/asl: Force using -j1
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r--development/asl/asl.SlackBuild18
1 files changed, 8 insertions, 10 deletions
diff --git a/development/asl/asl.SlackBuild b/development/asl/asl.SlackBuild
index 5ff041deba..41a5f8a126 100644
--- a/development/asl/asl.SlackBuild
+++ b/development/asl/asl.SlackBuild
@@ -4,16 +4,14 @@
# Written by Oleg O. Chukaev <oleg.chukaev@mail.ru>
PRGNAM=asl
-VERSION=current_20090810
+VERSION=${VERSION:-current_20090810}
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
@@ -46,11 +44,11 @@ rm -rf $PRGNAM-$VERSION
tar xvf $CWD/$PRGNAM-$VERSION.tar.?z*
cd $PRGNAM-$VERSION
chown -R root:root .
-find . \
- \( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \
- -exec chmod 755 {} \; -o \
- \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
- -exec chmod 644 {} \;
+find -L . \
+ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
+ -o -perm 511 \) -exec chmod 755 {} \; -o \
+ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
# Fixup the manpage installation
patch -p1 < $CWD/fixup_manpage_install.diff
@@ -63,14 +61,14 @@ make \
INCDIR=/usr/include/asl \
MANDIR=/usr/man \
LIBDIR=/usr/lib${LIBDIRSUFFIX}/asl \
- DOCDIR=/usr/doc/$PRGNAM-$VERSION
+ DOCDIR=/usr/doc/$PRGNAM-$VERSION -j1
make docs \
CFLAGS="$SLKCFLAGS" \
BINDIR=/usr/bin \
INCDIR=/usr/include/asl \
MANDIR=/usr/man \
LIBDIR=/usr/lib${LIBDIRSUFFIX}/asl \
- DOCDIR=/usr/doc/$PRGNAM-$VERSION
+ DOCDIR=/usr/doc/$PRGNAM-$VERSION -j1
make install \
CFLAGS="$SLKCFLAGS" \
PREFIX=$PKG \