diff options
-rw-r--r-- | development/Fennel/Fennel.SlackBuild | 11 | ||||
-rw-r--r-- | development/Fennel/Fennel.info | 6 | ||||
-rw-r--r-- | development/Fennel/README | 4 |
3 files changed, 14 insertions, 7 deletions
diff --git a/development/Fennel/Fennel.SlackBuild b/development/Fennel/Fennel.SlackBuild index 7f3f27107b..3abb4745fa 100644 --- a/development/Fennel/Fennel.SlackBuild +++ b/development/Fennel/Fennel.SlackBuild @@ -22,7 +22,7 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=Fennel -VERSION=${VERSION:-0.3.0} +VERSION=${VERSION:-0.3.1} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -83,7 +83,7 @@ if $(lua5.2 -v &> /dev/null); then install -D -m 0644 fennelview.fnl.lua $PKG/usr/share/lua/5.2/fennelview.lua fi -# lua 5.3 support +# lua 5.3 support. if $(lua5.3 -v &> /dev/null); then sed -i '1s|lua.*|lua5.3|' fennel @@ -93,6 +93,13 @@ if $(lua5.3 -v &> /dev/null); then install -D -m 0644 fennelview.fnl.lua $PKG/usr/share/lua/5.3/fennelview.lua fi +# luajit support. +if $(luajit -v &> /dev/null); then + sed -i '1s|lua.*|luajit|' fennel + + install -D -m 0755 fennel $PKG/usr/bin/fenneljit +fi + 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/Fennel/Fennel.info b/development/Fennel/Fennel.info index c6bf380f54..36b04dd77c 100644 --- a/development/Fennel/Fennel.info +++ b/development/Fennel/Fennel.info @@ -1,8 +1,8 @@ PRGNAM="Fennel" -VERSION="0.3.0" +VERSION="0.3.1" HOMEPAGE="https://fennel-lang.org/" -DOWNLOAD="https://github.com/bakpakin/Fennel/archive/0.3.0/Fennel-0.3.0.tar.gz" -MD5SUM="8ee993514eb355332f01b1a67d1c19b4" +DOWNLOAD="https://github.com/bakpakin/Fennel/archive/0.3.1/Fennel-0.3.1.tar.gz" +MD5SUM="a172545296f427df8908804087898b34" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="lua" diff --git a/development/Fennel/README b/development/Fennel/README index 878ff9c791..06336bb959 100644 --- a/development/Fennel/README +++ b/development/Fennel/README @@ -10,9 +10,9 @@ and reach of Lua with the flexibility of a lisp syntax and macro system. Anywhere you can run Lua code, you can run Fennel code. Optional Dependency: -* lua52, lua53 +* lua52, lua53, luajit Default support for all versions of Lua installed before build. -After installation there is "fennel5.2" and "fennel5.3" executable files for the +After installation there is "fennel5.2", "fennel5.3" and "fenneljit" executable files for the equivalent versions of Lua installed. * lua-readline |