Fredrik Fornwall
9 years ago
2 changed files with 38 additions and 0 deletions
@ -0,0 +1,23 @@ |
|||||
|
TERMUX_PKG_HOMEPAGE=http://www.sbcl.org/ |
||||
|
TERMUX_PKG_DESCRIPTION="Steel Bank Common Lisp" |
||||
|
TERMUX_PKG_VERSION=1.3.4 |
||||
|
TERMUX_PKG_SRCURL=http://prdownloads.sourceforge.net/sbcl/sbcl-${TERMUX_PKG_VERSION}-source.tar.bz2 |
||||
|
TERMUX_PKG_FOLDERNAME=sbcl-$TERMUX_PKG_VERSION |
||||
|
|
||||
|
termux_step_pre_configure () { |
||||
|
local SBCL_HOST_TARFILE=$TERMUX_PKG_CACHEDIR/sbcl-host-${TERMUX_PKG_VERSION}.tar.bz2 |
||||
|
if [ ! -f $SBCL_HOST_TARFILE ]; then |
||||
|
curl -o $SBCL_HOST_TARFILE -L http://downloads.sourceforge.net/project/sbcl/sbcl/1.3.4/sbcl-1.3.4-x86-64-linux-binary.tar.bz2 |
||||
|
cd $TERMUX_PKG_TMPDIR |
||||
|
tar xf $SBCL_HOST_TARFILE |
||||
|
cd sbcl-1.3.4-x86-64-linux |
||||
|
INSTALL_ROOT=$TERMUX_PKG_CACHEDIR/sbcl-host sh install.sh |
||||
|
fi |
||||
|
export PATH=$PATH:$TERMUX_PKG_CACHEDIR/sbcl-host/bin |
||||
|
export SBCL_HOME=$TERMUX_PKG_CACHEDIR/sbcl-host/lib/sbcl |
||||
|
} |
||||
|
|
||||
|
termux_step_make_install () { |
||||
|
cd $TERMUX_PKG_SRCDIR |
||||
|
sh make.sh --prefix=$TERMUX_PREFIX |
||||
|
} |
@ -0,0 +1,15 @@ |
|||||
|
diff -u -r ../sbcl-1.3.4/make-config.sh ./make-config.sh
|
||||
|
--- ../sbcl-1.3.4/make-config.sh 2016-03-31 03:28:36.000000000 -0400
|
||||
|
+++ ./make-config.sh 2016-04-10 16:43:40.651905145 -0400
|
||||
|
@@ -754,8 +754,9 @@
|
||||
|
# cross-compilers! |
||||
|
# |
||||
|
# FIXME: integrate to grovel-features, mayhaps |
||||
|
-$GNUMAKE -C tools-for-build determine-endianness -I ../src/runtime
|
||||
|
-tools-for-build/determine-endianness >> $ltf
|
||||
|
+# $GNUMAKE -C tools-for-build determine-endianness -I ../src/runtime
|
||||
|
+# tools-for-build/determine-endianness >> $ltf
|
||||
|
+echo " :little-endian" >> $ltf # Termux patch.
|
||||
|
|
||||
|
export sbcl_os sbcl_arch |
||||
|
sh tools-for-build/grovel-features.sh >> $ltf |
Loading…
Reference in new issue