aboutsummaryrefslogtreecommitdiff
path: root/development
diff options
context:
space:
mode:
authorWilly Sudiarto Raharjo <willysr@slackbuilds.org>2013-11-16 07:34:50 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2013-11-16 07:34:50 +0700
commit3d04ca09811ca09ceff5357417db63dff3733836 (patch)
tree0240713f6460ff8265045def24d15784c4bc9f52 /development
parentdfea8adafa13dc6881be708f72a9e9293e9dedc2 (diff)
development/gsoap: Force using -j1
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'development')
-rw-r--r--development/gsoap/gsoap.SlackBuild10
1 files changed, 7 insertions, 3 deletions
diff --git a/development/gsoap/gsoap.SlackBuild b/development/gsoap/gsoap.SlackBuild
index 79715805b0b9..a6ae4dfd9fbb 100644
--- a/development/gsoap/gsoap.SlackBuild
+++ b/development/gsoap/gsoap.SlackBuild
@@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=gsoap
-VERSION=2.8.12
+VERSION=${VERSION:-2.8.12}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -63,7 +63,11 @@ rm -rf $PRGNAM-2.8
unzip $CWD/${PRGNAM}_${VERSION}.zip
cd $PRGNAM-2.8
chown -R root:root .
-chmod -R u+w,go+r-w,a-s .
+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 {} \;
autoreconf -vif
@@ -76,7 +80,7 @@ CXXFLAGS="$SLKCFLAGS" \
--localstatedir=/var \
--build=$ARCH-slackware-linux
-make
+make -j1
make install-strip DESTDIR=$PKG
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION