diff options
author | Vincent Batts <vbatts@hashbangbash.com> | 2010-04-14 20:47:48 -0400 |
---|---|---|
committer | David Somero <xgizzmo@slackbuilds.org> | 2010-05-15 10:37:57 +0200 |
commit | 75ed6a27339a8281222fbc846f8b6a1150cbc528 (patch) | |
tree | 2f379c5f25004328b2f0be46bed799ef9c6f3f2d /libraries/slib/slib.SlackBuild | |
parent | 91d7a4274f3937743475f6309175d7cef95ec781 (diff) |
libraries/slib: Updated to fix guile slibcat issue.
Diffstat (limited to 'libraries/slib/slib.SlackBuild')
-rw-r--r-- | libraries/slib/slib.SlackBuild | 16 |
1 files changed, 15 insertions, 1 deletions
diff --git a/libraries/slib/slib.SlackBuild b/libraries/slib/slib.SlackBuild index 94c98a99f28a..9b3a02516e70 100644 --- a/libraries/slib/slib.SlackBuild +++ b/libraries/slib/slib.SlackBuild @@ -25,7 +25,7 @@ PRGNAM=slib VERSION=3b2 ARCH=${ARCH:-i486} -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} TAG=${TAG:-_SBo} CWD=$(pwd) @@ -95,8 +95,22 @@ cp -a \ $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild +# Guile script to be run on installation, to build slibcat +cat >> $PKG/usr/doc/$PRGNAM-$VERSION/guile-slibcat.script << EOF +(use-modules (ice-9 slib)) +(require 'new-catalog) +(quit) +EOF + + mkdir -p $PKG/install cat $CWD/slack-desc > $PKG/install/slack-desc +cat >> $PKG/install/doinst.sh <<EOF +#!/bin/sh + +guile -q -s /usr/doc/$PRGNAM-$VERSION/guile-slibcat.script + +EOF cd $PKG /sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz} |