diff options
author | Lockywolf <for_sbo.guile1.8_2023-07-16@lockywolf.net> | 2023-07-17 09:51:28 +0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2023-07-17 09:51:28 +0700 |
commit | 04147d5ba90623411583416b783bb005054d93f7 (patch) | |
tree | b67ac9409f750c3cb2c2de9b47fcd8814c5a84cb /development | |
parent | 3e2bff69dee3823a8a87f57b90626b96c2514d5c (diff) |
development/guile1.8: New maintainer.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'development')
-rw-r--r-- | development/guile1.8/README | 3 | ||||
-rw-r--r-- | development/guile1.8/guile1.8.SlackBuild | 44 | ||||
-rw-r--r-- | development/guile1.8/guile1.8.info | 4 |
3 files changed, 33 insertions, 18 deletions
diff --git a/development/guile1.8/README b/development/guile1.8/README index 360f53e5b732..771792f1e15c 100644 --- a/development/guile1.8/README +++ b/development/guile1.8/README @@ -8,3 +8,6 @@ giving users of Guile-based applications a choice of languages. This is Guile 1.8 (legacy version) needed by some packages in SBo. This package can be installed alongside with Slackware's Guile + +This SlackBuild accepts the NO_DOCS=true option, in case +documentation is not needed, and/or if the build fails. diff --git a/development/guile1.8/guile1.8.SlackBuild b/development/guile1.8/guile1.8.SlackBuild index 833180fa6cfb..1ac12609e32e 100644 --- a/development/guile1.8/guile1.8.SlackBuild +++ b/development/guile1.8/guile1.8.SlackBuild @@ -1,6 +1,7 @@ #!/bin/bash # Copyright 2013-2016 Willy Sudiarto Raharjo <willysr@slackbuilds.org> +# Updated 2023, Lockywolf # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -25,12 +26,15 @@ # - add doinst.sh to handle /usr/info/dir # - rm generic INSTALL from doc dir. +# 20230716 Lockywolf: BUILD=6 +# - Add NO_DOCS option. + cd $(dirname $0) ; CWD=$(pwd) PRGNAM=guile1.8 SRCNAM=guile VERSION=${VERSION:-1.8.8} -BUILD=${BUILD:-5} +BUILD=${BUILD:-6} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -82,6 +86,11 @@ find -L . \ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} + +if [[ "$NO_DOCS" == true ]] ; then + sed -i 's/scripts srfi doc examples test-suite benchmark-suite lang am/scripts srfi examples test-suite benchmark-suite lang am/g' Makefile.am ; + autoreconf -i +fi + CFLAGS="$SLKCFLAGS" \ ./configure \ --prefix=/usr \ @@ -102,8 +111,6 @@ rm -rf $PKG/usr/lib${LIBDIRSUFFIX}/*.la find $PKG -print0 | xargs -0 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 # 20230629 bkw: # @@ -127,19 +134,24 @@ for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; r # and just not ship the .info files. But I kinda hate to do that. # rm -f $PKG/usr/info/{guile.*,r5rs*,dir} -gzip -9 $PKG/usr/info/*.info -GV="$( echo $VERSION | cut -d. -f1,2 )" -( cd doc/ref - sed -i '/^guile\.info-/s,guile,guile'$GV, guile.info - sed -i \ - -e '/\* Guile Ref/s,.*,* Guile '$GV' Reference: (guile'$GV'). The Guile '$GV' reference manual.,' \ - -e '/^File: guile\.info/s,guile,guile'$GV, \ - guile.info* - rename guile. guile$GV. guile.info* - for i in guile$GV.info*; do - gzip -9c < $i > $PKG/usr/info/$( basename $i ).gz - done -) +if [[ "$NO_DOCS" != true ]] ; then + 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 + + gzip -9 $PKG/usr/info/*.info + GV="$( echo $VERSION | cut -d. -f1,2 )" + ( cd doc/ref + sed -i '/^guile\.info-/s,guile,guile'$GV, guile.info + sed -i \ + -e '/\* Guile Ref/s,.*,* Guile '$GV' Reference: (guile'$GV'). The Guile '$GV' reference manual.,' \ + -e '/^File: guile\.info/s,guile,guile'$GV, \ + guile.info* + rename guile. guile$GV. guile.info* + for i in guile$GV.info*; do + gzip -9c < $i > $PKG/usr/info/$( basename $i ).gz + done + ) +fi # Avoid duplicate with Slackware's guile.m4 # It can detect newer (2.0) and older (1.8) version of guile installed on system diff --git a/development/guile1.8/guile1.8.info b/development/guile1.8/guile1.8.info index 69193f57cfa7..0e8596eb3b4a 100644 --- a/development/guile1.8/guile1.8.info +++ b/development/guile1.8/guile1.8.info @@ -6,5 +6,5 @@ MD5SUM="18661a8fdfef13e2fcb7651720aa53f3" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" -MAINTAINER="Willy Sudiarto Raharjo" -EMAIL="willysr@slackbuilds.org" +MAINTAINER="Lockywolf" +EMAIL="for_sbo.guile1.8_2023-07-16@lockywolf.net" |