aboutsummaryrefslogtreecommitdiff
path: root/libraries/slib
diff options
context:
space:
mode:
authorVincent Batts <vbatts@hashbangbash.com>2010-04-14 20:47:48 -0400
committerDavid Somero <xgizzmo@slackbuilds.org>2010-05-15 10:37:57 +0200
commit75ed6a27339a8281222fbc846f8b6a1150cbc528 (patch)
tree2f379c5f25004328b2f0be46bed799ef9c6f3f2d /libraries/slib
parent91d7a4274f3937743475f6309175d7cef95ec781 (diff)
libraries/slib: Updated to fix guile slibcat issue.
Diffstat (limited to 'libraries/slib')
-rw-r--r--libraries/slib/slib.SlackBuild16
-rw-r--r--libraries/slib/slib.info2
2 files changed, 16 insertions, 2 deletions
diff --git a/libraries/slib/slib.SlackBuild b/libraries/slib/slib.SlackBuild
index 94c98a99f28a5..9b3a02516e704 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 24eec31ca229e..0d60324effaf8 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"