mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-20 19:41:34 +01:00
development/chibi-scheme: Updated for version 0.11.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
parent
e62c37958a
commit
fc4e7f8fbd
4 changed files with 28 additions and 7 deletions
|
@ -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
|
||||
|
@ -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}
|
||||
|
@ -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 . \
|
||||
|
@ -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
|
||||
|
|
|
@ -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=""
|
||||
|
|
12
development/chibi-scheme/doinst.sh
Normal file
12
development/chibi-scheme/doinst.sh
Normal file
|
@ -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
development/chibi-scheme/douninst.sh
Normal file
8
development/chibi-scheme/douninst.sh
Normal file
|
@ -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
|
Loading…
Reference in a new issue