diff options
author | Robby Workman <rworkman@slackbuilds.org> | 2013-11-19 23:14:46 -0600 |
---|---|---|
committer | Robby Workman <rworkman@slackbuilds.org> | 2013-11-20 11:14:39 -0600 |
commit | b518e53b254e3e97f0025b50c6f378ac691e69bc (patch) | |
tree | a2ee6607a75dbb99175c955f7b798bd9c188ec7f /libraries | |
parent | e7ba1ee123dacba122f64c5f024e08c248529d7b (diff) | |
download | slackbuilds-b518e53b254e3e97f0025b50c6f378ac691e69bc.tar.gz |
libraries/slib: Updated for version 3b4.
Holy batballs. That is all.
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'libraries')
-rw-r--r-- | libraries/slib/doinst.sh | 2 | ||||
-rw-r--r-- | libraries/slib/slib.SlackBuild | 54 | ||||
-rw-r--r-- | libraries/slib/slib.info | 8 |
3 files changed, 37 insertions, 27 deletions
diff --git a/libraries/slib/doinst.sh b/libraries/slib/doinst.sh index 41cfc6360e..f2e7571760 100644 --- a/libraries/slib/doinst.sh +++ b/libraries/slib/doinst.sh @@ -1 +1 @@ -chroot . /usr/bin/guile -q -s /usr/doc/@PRGNAM@-@VERSION@/guile-slibcat.script +chroot . /usr/bin/guile1.8 -q -s /usr/libexec/slib/guile-slibcat.script diff --git a/libraries/slib/slib.SlackBuild b/libraries/slib/slib.SlackBuild index 3a33ff1198..5517314afb 100644 --- a/libraries/slib/slib.SlackBuild +++ b/libraries/slib/slib.SlackBuild @@ -23,8 +23,8 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=slib -VERSION=3b2 -BUILD=${BUILD:-3} +VERSION=${VERSION:-3b4} +BUILD=${BUILD:-1} TAG=${TAG:-_SBo} if [ -z "$ARCH" ]; then @@ -69,40 +69,50 @@ find . \ \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ -exec chmod 644 {} \; -sed -i 's%/usr/local%/usr%g' Makefile -make libdir=/usr/lib${LIBDIRSUFFIX}/ -make infoz DESTDIR=$PKG -make libdir=/usr/lib${LIBDIRSUFFIX}/ install DESTDIR=$PKG +# We don't have ginstall-info +sed -i s,ginstall-info,install-info,g Makefile + +./configure \ + --prefix=/usr \ + --libdir=/usr/share \ + --sysconfdir=/etc \ + --localstatedir=/var \ + --mandir=/usr/man \ + --infodir=/usr/info \ + --docdir=/usr/doc/$PRGNAM-$VERISON + +# https://lists.gnu.org/archive/html/slib-discuss/2011-02/msg00005.html +touch collectx.scm + +SCHEME=guile1.8 \ +TEXI2HTML="$(which texi2html) -split -verbose" \ + make install DESTDIR=$PKG find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true -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 - -# The Makefile is braindead -sed -i "s%$PKG%%g" $PKG/usr/bin/slib +# https://www.gnu.org/software/guile/manual/html_node/SLIB-installation.html +mkdir -p $PKG/usr/share/guile/1.8/ +ln -s ../../slib $PKG/usr/share/guile/1.8/ -# guile is suppose to look to /usr/share/slib by default -mkdir -p $PKG/usr/share/guile -( cd $PKG/usr/share/ ; ln -s ../lib${LIBDIRSUFFIX}/slib . ) -( cd $PKG/usr/share/guile/ ; ln -s ../../lib${LIBDIRSUFFIX}/slib . ) +# somewhat perculiar quirk that only seems to be an issue on slackware +ln -s mklibcat.scm $PKG/usr/share/slib/mklibcat -# a somewhat perculiar quirk that only seems to be an issue on slackware -( cd $PKG/usr/lib${LIBDIRSUFFIX}/slib ; ln -s mklibcat.scm mklibcat ) +# This will be invoked during postinstall to generate the guile catalog file +mkdir -p $PKG/usr/libexec/slib +cat $CWD/guile-slibcat.script > $PKG/usr/libexec/slib/guile-slibcat.script +chmod 0755 $PKG/usr/libexec/slib/guile-slibcat.script +gzip -9 $PKG/usr/man/man1/*.1 rm -f $PKG/usr/info/dir mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a \ - ANNOUNCE FAQ COPYING ChangeLog README \ - $PKG/usr/doc/$PRGNAM-$VERSION +cp -a ANNOUNCE ChangeLog COPYING FAQ README $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild -cat $CWD/guile-slibcat.script > $PKG/usr/doc/$PRGNAM-$VERSION/guile-slibcat.script mkdir -p $PKG/install cat $CWD/slack-desc > $PKG/install/slack-desc -sed -e s/@PRGNAM@/$PRGNAM/ -e s/@VERSION@/$VERSION/ $CWD/doinst.sh > $PKG/install/doinst.sh +cat $CWD/doinst.sh > $PKG/install/doinst.sh cd $PKG /sbin/makepkg -p -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 73fc404752..e877bbb226 100644 --- a/libraries/slib/slib.info +++ b/libraries/slib/slib.info @@ -1,10 +1,10 @@ PRGNAM="slib" -VERSION="3b2" +VERSION="3b4" HOMEPAGE="http://www-swiss.ai.mit.edu/~jaffer/SLIB.html" -DOWNLOAD="http://swiss.csail.mit.edu/ftpdir/scm/OLD/slib-3b2.zip" -MD5SUM="2f3a6ece49afb1e7db3bce7af039eaaa" +DOWNLOAD="http://groups.csail.mit.edu/mac/ftpdir/scm/slib-3b4.zip" +MD5SUM="935dfd0ad8af6f833946573a2f92c196" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="" +REQUIRES="guile1.8" MAINTAINER="Vincent Batts" EMAIL="vbatts@hashbangbash.com" |