development/racket: Updated for version 6.0.

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
Markus Hutmacher 2014-04-21 07:58:24 +07:00 committed by Willy Sudiarto Raharjo
parent 0322f12581
commit 075b1368ba
3 changed files with 13 additions and 9 deletions

View file

@ -3,3 +3,5 @@ programming language in the Lisp/Scheme family. One of its design goals is to
serve as a platform for language creation, design, and implementation. The serve as a platform for language creation, design, and implementation. The
language is used in a variety of contexts such as scripting, general-purpose language is used in a variety of contexts such as scripting, general-purpose
programming, computer science education, and research. (source: Wikipedia) programming, computer science education, and research. (source: Wikipedia)
racket is the commandlineversion, drracket is the GUI-version

View file

@ -23,8 +23,8 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=racket PRGNAM=racket
VERSION=${VERSION:-5.93} VERSION=${VERSION:-6.0}
SUFFIX=src # suffix of the sourcepackage SUFFIX=src-unix # suffix of the UNIX sourcepackage
BUILD=${BUILD:-1} BUILD=${BUILD:-1}
TAG=${TAG:-_SBo} TAG=${TAG:-_SBo}
@ -78,7 +78,8 @@ cd src/build
--prefix=/usr \ --prefix=/usr \
--libdir=/usr/lib${LIBDIRSUFFIX} \ --libdir=/usr/lib${LIBDIRSUFFIX} \
--mandir=/usr/man \ --mandir=/usr/man \
--datadir=/usr/doc/$PRGNAM-$VERSION \ --datadir=/usr/share/$PRGNAM \
--docdir=/usr/doc/$PRGNAM-$VERSION \
--build=$ARCH-slackware-linux --build=$ARCH-slackware-linux
make make
@ -90,10 +91,11 @@ find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | gr
find $PKG/usr/man -type f -exec gzip -9 {} \; find $PKG/usr/man -type f -exec gzip -9 {} \;
for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cd .. cd ..
cp -a README $PKG/usr/doc/$PRGNAM-$VERSION # store the Slackware related README and the SlackBuild-script in a separate directory
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild mkdir $PKG/usr/doc/$PRGNAM-$VERSION/Slackware
cat $CWD/README > $PKG/usr/doc/$PRGNAM-$VERSION/Slackware/README
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/Slackware/$PRGNAM.SlackBuild
mkdir -p $PKG/install mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc cat $CWD/slack-desc > $PKG/install/slack-desc

View file

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