Browse Source

picolisp: Update 16.8.26 to 16.8.29, bundle src64/

android-5
Fredrik Fornwall 8 years ago
parent
commit
32b6eb99a7
  1. 6
      packages/picolisp/build.sh

6
packages/picolisp/build.sh

@ -3,12 +3,12 @@ TERMUX_PKG_DESCRIPTION="Lisp interpreter and application server framework"
TERMUX_PKG_DEPENDS="libcrypt, openssl" TERMUX_PKG_DEPENDS="libcrypt, openssl"
_PICOLISP_YEAR=16 _PICOLISP_YEAR=16
_PICOLISP_MONTH=8 _PICOLISP_MONTH=8
_PICOLISP_DAY=26 _PICOLISP_DAY=29
TERMUX_PKG_VERSION=${_PICOLISP_YEAR}.${_PICOLISP_MONTH}.${_PICOLISP_DAY} TERMUX_PKG_VERSION=${_PICOLISP_YEAR}.${_PICOLISP_MONTH}.${_PICOLISP_DAY}
# We use our bintray mirror since old version snapshots are not kept on main site. # We use our bintray mirror since old version snapshots are not kept on main site.
# TERMUX_PKG_SRCURL=http://software-lab.de/picoLisp.tgz # TERMUX_PKG_SRCURL=http://software-lab.de/picoLisp.tgz
TERMUX_PKG_SRCURL=https://dl.bintray.com/termux/upstream/picolisp_${TERMUX_PKG_VERSION}.tar.gz TERMUX_PKG_SRCURL=https://dl.bintray.com/termux/upstream/picolisp_${TERMUX_PKG_VERSION}.tar.gz
TERMUX_PKG_SHA256=018015672e2abdc58b01b4da9b68899f9fc3d671e3faf464d77367a839621c7c TERMUX_PKG_SHA256=b7990d7f1330ad9d75f876515cf101075b9a9ca243db2b44019c0eb5f5ddfdee
TERMUX_PKG_FOLDERNAME=picoLisp TERMUX_PKG_FOLDERNAME=picoLisp
TERMUX_PKG_BUILD_IN_SRC=true TERMUX_PKG_BUILD_IN_SRC=true
# The assembly is not position-independent (would be a major rewrite): # The assembly is not position-independent (would be a major rewrite):
@ -58,7 +58,7 @@ termux_step_make_install () {
mkdir -p $TERMUX_PREFIX/lib/picolisp mkdir -p $TERMUX_PREFIX/lib/picolisp
cp -Rf $TERMUX_PKG_SRCDIR/../* $TERMUX_PREFIX/lib/picolisp/ cp -Rf $TERMUX_PKG_SRCDIR/../* $TERMUX_PREFIX/lib/picolisp/
rm -Rf $TERMUX_PREFIX/lib/picolisp/{src,src64,man,java,ersatz} rm -Rf $TERMUX_PREFIX/lib/picolisp/{src,man,java,ersatz}
# Replace first line "#!/usr/bin/picolisp /usr/lib/picolisp/lib.l": # Replace first line "#!/usr/bin/picolisp /usr/lib/picolisp/lib.l":
sed -i "1 s|^.*$|#!$TERMUX_PREFIX/bin/picolisp $TERMUX_PREFIX/lib/picolisp/lib.l|g" $TERMUX_PREFIX/lib/picolisp/bin/pil sed -i "1 s|^.*$|#!$TERMUX_PREFIX/bin/picolisp $TERMUX_PREFIX/lib/picolisp/lib.l|g" $TERMUX_PREFIX/lib/picolisp/bin/pil

Loading…
Cancel
Save