From b26e61136612c417416de038fa39ab3357323037 Mon Sep 17 00:00:00 2001 From: Erik Falor Date: Wed, 26 Jul 2017 11:17:32 +0100 Subject: development/chibi-scheme: Updated for version 0.7.3. Signed-off-by: David Spencer --- development/chibi-scheme/chibi-scheme.SlackBuild | 33 ++++++++++++++++++------ development/chibi-scheme/chibi-scheme.info | 8 +++--- 2 files changed, 29 insertions(+), 12 deletions(-) (limited to 'development') diff --git a/development/chibi-scheme/chibi-scheme.SlackBuild b/development/chibi-scheme/chibi-scheme.SlackBuild index 302a13baa4e4..b17b248b8729 100644 --- a/development/chibi-scheme/chibi-scheme.SlackBuild +++ b/development/chibi-scheme/chibi-scheme.SlackBuild @@ -23,13 +23,13 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM='chibi-scheme' -VERSION=${VERSION:-0.7.1} +VERSION=${VERSION:-0.7.3} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} if [ -z "$ARCH" ]; then case "$( uname -m )" in - i?86) ARCH=i486 ;; + i?86) ARCH=i586 ;; arm*) ARCH=arm ;; *) ARCH=$( uname -m ) ;; esac @@ -40,8 +40,8 @@ TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} -if [ "$ARCH" = "i486" ]; then - SLKCFLAGS="-O2 -march=i486 -mtune=i686" +if [ "$ARCH" = "i586" ]; then + SLKCFLAGS="-O2 -march=i586 -mtune=i686" LIBDIRSUFFIX="" elif [ "$ARCH" = "i686" ]; then SLKCFLAGS="-O2 -march=i686 -mtune=i686" @@ -60,17 +60,34 @@ rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP rm -rf $PRGNAM-$VERSION -tar xvf $CWD/$PRGNAM-$VERSION.tgz +tar xvf $CWD/$PRGNAM-$VERSION.tar.gz cd $PRGNAM-$VERSION chown -R root:root . find -L . \ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ -o -perm 511 \) -exec chmod 755 {} \; -o \ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ - -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; + -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; -make CFLAGS="$SLKCFLAGS" PREFIX="/usr" LIBDIR="/usr/lib${LIBDIRSUFFIX}" SOLIBDIR="/usr/lib${LIBDIRSUFFIX}" BINMODDIR="/usr/lib${LIBDIRSUFFIX}" MODDIR="/usr/lib${LIBDIRSUFFIX}" -make install DESTDIR=$PKG PREFIX="/usr" MANDIR="/usr/man/man1" LIBDIR="/usr/lib${LIBDIRSUFFIX}" SOLIBDIR="/usr/lib${LIBDIRSUFFIX}" BINMODDIR="/usr/lib${LIBDIRSUFFIX}" MODDIR="/usr/lib${LIBDIRSUFFIX}" +# Don't ldconfig the build box, installpkg will do that +sed -i -e '/ldconfig/d' Makefile + +make -j1 \ + CFLAGS="$SLKCFLAGS" \ + PREFIX="/usr" \ + LIBDIR="/usr/lib${LIBDIRSUFFIX}" \ + SOLIBDIR="/usr/lib${LIBDIRSUFFIX}" \ + BINMODDIR="/usr/lib${LIBDIRSUFFIX}/chibi" \ + MODDIR="/usr/lib${LIBDIRSUFFIX}/chibi" + +make install \ + DESTDIR=$PKG \ + MANDIR="/usr/man/man1" \ + PREFIX="/usr" \ + LIBDIR="/usr/lib${LIBDIRSUFFIX}" \ + SOLIBDIR="/usr/lib${LIBDIRSUFFIX}" \ + BINMODDIR="/usr/lib${LIBDIRSUFFIX}/chibi" \ + MODDIR="/usr/lib${LIBDIRSUFFIX}/chibi" 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 diff --git a/development/chibi-scheme/chibi-scheme.info b/development/chibi-scheme/chibi-scheme.info index 1e7496c09dc6..dac197d2cbe9 100644 --- a/development/chibi-scheme/chibi-scheme.info +++ b/development/chibi-scheme/chibi-scheme.info @@ -1,8 +1,8 @@ PRGNAM="chibi-scheme" -VERSION="0.7.1" -HOMEPAGE="http://synthcode.com/scheme/" -DOWNLOAD="http://synthcode.com/chibi-scheme-0.7.1.tgz" -MD5SUM="9625e9513363eab10bd2cb4ca71d1501" +VERSION="0.7.3" +HOMEPAGE="https://github.com/ashinn/chibi-scheme" +DOWNLOAD="https://github.com/ashinn/chibi-scheme/archive/0.7.3/chibi-scheme-0.7.3.tar.gz" +MD5SUM="6bd9438765a0a919ec0364fc7ed6df2b" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" -- cgit v1.2.3