summaryrefslogtreecommitdiffstats
path: root/development/racket/racket.SlackBuild
diff options
context:
space:
mode:
author Markus Hutmacher2014-02-04 17:47:40 +0100
committer Erik Hanson2014-02-08 18:10:09 +0100
commit7167ceff78966a5b443568fd9ea868ed45e0d9cb (patch)
treeef07e7a48941b4044c357a50759d20f05a612356 /development/racket/racket.SlackBuild
parentc35cf591c7103745b1096559bbb4a348c5bb6994 (diff)
downloadslackbuilds-7167ceff78966a5b443568fd9ea868ed45e0d9cb.tar.gz
development/racket: Updated for version 5.93.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'development/racket/racket.SlackBuild')
-rw-r--r--development/racket/racket.SlackBuild23
1 files changed, 8 insertions, 15 deletions
diff --git a/development/racket/racket.SlackBuild b/development/racket/racket.SlackBuild
index 68fefb8eef..58ad75428b 100644
--- a/development/racket/racket.SlackBuild
+++ b/development/racket/racket.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for racket
-# Copyright 2013 Markus Hutmacher, Germany <mailing@markhu.de>
+# Copyright 2013-2014 Markus Hutmacher, Germany <mailing@markhu.de>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -23,8 +23,8 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=racket
-VERSION=${VERSION:-5.3.6}
-SUFFIX=src-unix # suffix of the Unix-sourcepackage
+VERSION=${VERSION:-5.93}
+SUFFIX=src # suffix of the sourcepackage
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -65,10 +65,10 @@ tar xvf $CWD/$PRGNAM-$VERSION-$SUFFIX.tgz
cd $PRGNAM-$VERSION
chown -R root:root .
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 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
- -exec chmod 644 {} \;
+ \( -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" \
@@ -79,13 +79,7 @@ cd src/build
--libdir=/usr/lib${LIBDIRSUFFIX} \
--mandir=/usr/man \
--datadir=/usr/doc/$PRGNAM-$VERSION \
- --docdir=/usr/doc/$PRGNAM-$VERSION \
--build=$ARCH-slackware-linux
-# the datadir is really the docdir where the documentation resides (which
-# is available in drracket's helpcenter). The path doc/racket cannot be
-# changed. With the above settings the docs reside in
-# /usr/doc/racket-$VERSION/doc/racket and the SlackBuild-script as well as
-# the README in /usr/doc/racket-$VERSION (as is default in Slackware)
make
make install DESTDIR=$PKG
@@ -98,8 +92,7 @@ for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; r
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cd ..
-cp -a README \
- $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a README $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install