summaryrefslogtreecommitdiff
path: root/academic/xcircuit/xcircuit.SlackBuild
diff options
context:
space:
mode:
authorWilly Sudiarto Raharjo <willysr@slackware-id.org>2013-11-06 07:41:33 +0700
committerRobby Workman <rworkman@slackbuilds.org>2013-11-05 20:14:39 -0600
commit413819132254468fb1637c771134187b0aeb0689 (patch)
treea125c11303e36330f11af574cad0b6f90cac0081 /academic/xcircuit/xcircuit.SlackBuild
parent6731e7a3168aab328065e1a1f0d95c3f0a6a7fa2 (diff)
downloadslackbuilds-413819132254468fb1637c771134187b0aeb0689.tar.gz
academic/xcircuit: Updated for version 3.7.54.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackware-id.org> Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'academic/xcircuit/xcircuit.SlackBuild')
-rw-r--r--academic/xcircuit/xcircuit.SlackBuild8
1 files changed, 6 insertions, 2 deletions
diff --git a/academic/xcircuit/xcircuit.SlackBuild b/academic/xcircuit/xcircuit.SlackBuild
index 8c51c56b93..d10fc94685 100644
--- a/academic/xcircuit/xcircuit.SlackBuild
+++ b/academic/xcircuit/xcircuit.SlackBuild
@@ -4,7 +4,7 @@
# Written by B. Jogai <jogaib {at} comcast [dot] net>
PRGNAM=xcircuit
-VERSION=3.7.13
+VERSION=${VERSION:-3.7.54}
BUILD=${BUILD:-1}
TAG=${TAG:-"_SBo"}
@@ -44,7 +44,11 @@ rm -rf $PRGNAM-$VERSION $PRGNAM
tar xvf $CWD/$PRGNAM-$VERSION.tgz
cd $PRGNAM-$VERSION
chown -R root:root .
-chmod -R u+w,go+r-w,a-s .
+find -L . \
+ \( -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 640 -o -perm 600 -o -perm 444 \
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
CFLAGS="$SLKCFLAGS" \
./configure \