summaryrefslogtreecommitdiff
path: root/development/racket/racket.SlackBuild
diff options
context:
space:
mode:
authorMarkus Hutmacher <mailing@markhu.de>2014-04-21 07:58:24 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2014-04-23 07:51:54 +0700
commit075b1368baae1f1bf3c15f11edd762d7e7e7b6bd (patch)
tree1de7be82c628e428ef64eee4759f38f1f19f4cb8 /development/racket/racket.SlackBuild
parent0322f12581e1461c9b213f7d6d22cb2fc1d41e38 (diff)
downloadslackbuilds-075b1368baae1f1bf3c15f11edd762d7e7e7b6bd.tar.gz
development/racket: Updated for version 6.0.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'development/racket/racket.SlackBuild')
-rw-r--r--development/racket/racket.SlackBuild14
1 files changed, 8 insertions, 6 deletions
diff --git a/development/racket/racket.SlackBuild b/development/racket/racket.SlackBuild
index 58ad75428b..10884c4113 100644
--- a/development/racket/racket.SlackBuild
+++ b/development/racket/racket.SlackBuild
@@ -23,8 +23,8 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=racket
-VERSION=${VERSION:-5.93}
-SUFFIX=src # suffix of the sourcepackage
+VERSION=${VERSION:-6.0}
+SUFFIX=src-unix # suffix of the UNIX sourcepackage
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -78,7 +78,8 @@ cd src/build
--prefix=/usr \
--libdir=/usr/lib${LIBDIRSUFFIX} \
--mandir=/usr/man \
- --datadir=/usr/doc/$PRGNAM-$VERSION \
+ --datadir=/usr/share/$PRGNAM \
+ --docdir=/usr/doc/$PRGNAM-$VERSION \
--build=$ARCH-slackware-linux
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 {} \;
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 ..
-cp -a README $PKG/usr/doc/$PRGNAM-$VERSION
-cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+# store the Slackware related README and the SlackBuild-script in a separate directory
+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
cat $CWD/slack-desc > $PKG/install/slack-desc