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 | |
parent | 91d7a4274f3937743475f6309175d7cef95ec781 (diff) | |
download | slackbuilds-75ed6a27339a8281222fbc846f8b6a1150cbc528.tar.gz |
libraries/slib: Updated to fix guile slibcat issue.
-rw-r--r-- | libraries/slib/slib.SlackBuild | 16 | ||||
-rw-r--r-- | libraries/slib/slib.info | 2 |
2 files changed, 16 insertions, 2 deletions
diff --git a/libraries/slib/slib.SlackBuild b/libraries/slib/slib.SlackBuild index 94c98a99f2..9b3a02516e 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} diff --git a/libraries/slib/slib.info b/libraries/slib/slib.info index 24eec31ca2..0d60324eff 100644 --- a/libraries/slib/slib.info +++ b/libraries/slib/slib.info @@ -7,4 +7,4 @@ DOWNLOAD_x86_64="" MD5SUM_x86_64="" MAINTAINER="Vincent Batts" EMAIL="vbatts@hashbangbash.com" -APPROVED="rworkman" +APPROVED="dsomero" |