Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

development/chibi-scheme: Updated for version 0.11. #6651

Closed
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 5 additions & 4 deletions development/chibi-scheme/chibi-scheme.SlackBuild
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

# Slackware build script for chibi-scheme

# Copyright 2022 Erik Falor, Utah, USA
# Copyright 2024 Erik Falor, Utah, USA
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
Expand All @@ -25,8 +25,7 @@
cd $(dirname $0) ; CWD=$(pwd)

PRGNAM='chibi-scheme'
VERSION=${VERSION:-20220904_0a50b305}
COMMIT=${COMMIT:-0a50b305bc508003263e764949c25b9a21cccf91}
VERSION=${VERSION:-0.11}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
Expand Down Expand Up @@ -68,7 +67,7 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
tar xvf $CWD/$PRGNAM-$COMMIT.tar.gz && mv $PRGNAM-$COMMIT $PRGNAM-$VERSION
tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
Expand Down Expand Up @@ -109,6 +108,8 @@ cp -a AUTHORS COPYING README-win32.md README.libs README.md RELEASE TODO VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild

mkdir -p $PKG/install
cat $CWD/doinst.sh > $PKG/install/doinst.sh
cat $CWD/douninst.sh > $PKG/install/douninst.sh
cat $CWD/slack-desc > $PKG/install/slack-desc

cd $PKG
Expand Down
6 changes: 3 additions & 3 deletions development/chibi-scheme/chibi-scheme.info
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
PRGNAM="chibi-scheme"
VERSION="20220904_0a50b305"
VERSION="0.11"
HOMEPAGE="https://github.com/ashinn/chibi-scheme"
DOWNLOAD="https://github.com/ashinn/chibi-scheme/archive/0a50b305/chibi-scheme-0a50b305bc508003263e764949c25b9a21cccf91.tar.gz"
MD5SUM="a8c2dabc48f080bdf2f929a1c29cd437"
DOWNLOAD="https://github.com/ashinn/chibi-scheme/archive/refs/tags/0.11/chibi-scheme-0.11.tar.gz"
MD5SUM="1d90f1dababd1ed161169969fa9291e0"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
Expand Down
12 changes: 12 additions & 0 deletions development/chibi-scheme/doinst.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
echo "Generating images"

echo usr/lib64/chibi/chibi.img
LD_LIBRARY_PATH="/usr/lib64" DYLD_LIBRARY_PATH="usr/lib64" CHIBI_MODULE_PATH="usr/lib64/chibi" usr/bin/chibi-scheme -mchibi.repl -d usr/lib64/chibi/chibi.img

echo usr/lib64/chibi/red.img
LD_LIBRARY_PATH="/usr/lib64" DYLD_LIBRARY_PATH="usr/lib64" CHIBI_MODULE_PATH="usr/lib64/chibi" usr/bin/chibi-scheme -xscheme.red -mchibi.repl -d usr/lib64/chibi/red.img

echo usr/lib64/chibi/snow.img
LD_LIBRARY_PATH="/usr/lib64" DYLD_LIBRARY_PATH="usr/lib64" CHIBI_MODULE_PATH="usr/lib64/chibi" usr/bin/chibi-scheme -mchibi.snow.commands -mchibi.snow.interface -mchibi.snow.package -mchibi.snow.utils -d usr/lib64/chibi/snow.img

echo Done
8 changes: 8 additions & 0 deletions development/chibi-scheme/douninst.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
echo "Deleting generated images..."
[ -f usr/lib64/chibi/chibi.img ] && rm usr/lib64/chibi/chibi.img
[ -f usr/lib64/chibi/red.img ] && rm usr/lib64/chibi/red.img
[ -f usr/lib64/chibi/snow.img ] && rm usr/lib64/chibi/snow.img

if [ -e usr/lib64/chibi ]; then
rmdir usr/lib64/chibi && echo "Removed empty directory usr/lib64/chibi"
fi