summaryrefslogtreecommitdiff
path: root/libraries/ocaml-ounit/ocaml-ounit.SlackBuild
diff options
context:
space:
mode:
authorWilly Sudiarto Raharjo <willysr@slackbuilds.org>2013-11-14 20:21:20 +0700
committerRobby Workman <rworkman@slackbuilds.org>2013-11-14 14:32:30 -0600
commit0c504a9c91df08454f1c1f6dc8b6437b32c7e190 (patch)
tree72f5dc066323d044bd58ea474f7cae4fda1a6e27 /libraries/ocaml-ounit/ocaml-ounit.SlackBuild
parent023db4c1a6ecd1a88ec47edc04f5bc2117d719f8 (diff)
downloadslackbuilds-0c504a9c91df08454f1c1f6dc8b6437b32c7e190.tar.gz
libraries/ocaml-ounit: Updated for version 1.1.2
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'libraries/ocaml-ounit/ocaml-ounit.SlackBuild')
-rw-r--r--libraries/ocaml-ounit/ocaml-ounit.SlackBuild8
1 files changed, 6 insertions, 2 deletions
diff --git a/libraries/ocaml-ounit/ocaml-ounit.SlackBuild b/libraries/ocaml-ounit/ocaml-ounit.SlackBuild
index b8b2994c88..7a57709ebf 100644
--- a/libraries/ocaml-ounit/ocaml-ounit.SlackBuild
+++ b/libraries/ocaml-ounit/ocaml-ounit.SlackBuild
@@ -21,7 +21,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=ocaml-ounit
-VERSION=1.1.1
+VERSION=${VERSION:-1.1.2}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -63,7 +63,11 @@ rm -rf $SRCNAM-$VERSION
tar xvf $CWD/$SRCNAM-$VERSION.tar.gz
cd $SRCNAM-$VERSION
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 {} \;
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \