development/racket: Updated for version 5.93.

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
Markus Hutmacher 2014-02-04 23:47:40 +07:00 committed by Erik Hanson
parent c35cf591c7
commit 7167ceff78
2 changed files with 11 additions and 18 deletions

View file

@ -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

View file

@ -1,8 +1,8 @@
PRGNAM="racket"
VERSION="5.3.6"
VERSION="5.93"
HOMEPAGE="http://racket-lang.org/"
DOWNLOAD="http://download.racket-lang.org/installers/5.3.6/racket/racket-5.3.6-src-unix.tgz"
MD5SUM="c070155f31bf3d19ccc812140087a425"
DOWNLOAD="http://download.racket-lang.org/installers/5.93/racket-5.93-src.tgz"
MD5SUM="e90b6be417fe52f864057770aa2cf26d"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""