diff options
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 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} |