diff options
Diffstat (limited to 'development/newlisp')
-rw-r--r-- | development/newlisp/README | 13 | ||||
-rw-r--r-- | development/newlisp/newlisp.SlackBuild | 66 | ||||
-rw-r--r-- | development/newlisp/newlisp.info | 10 |
3 files changed, 68 insertions, 21 deletions
diff --git a/development/newlisp/README b/development/newlisp/README index b387d20798..9d83a77091 100644 --- a/development/newlisp/README +++ b/development/newlisp/README @@ -1,4 +1,9 @@ -newLISP is a Lisp-like, general-purpose scripting language. It has all the -magic of traditional Lisp but is easier to learn and use. newLISP is -friendly, fast, and small. Most of the functions you will ever need are -already built in. newLISP runs on most operating systems. +newLISP is a Lisp-like, general-purpose scripting language. It is +especially well-suited for applications in AI, simulation, natural +language processing, big data, machine learning and statistics. +Because of its small resource requirements, newLISP is excellent for +embedded systems applications. Most of the functions you will ever +need are already built in. This includes networking functions, +support for distributed and multicore processing, and Bayesian +statistics. + diff --git a/development/newlisp/newlisp.SlackBuild b/development/newlisp/newlisp.SlackBuild index f12d6a5ff8..6cf18b82ae 100644 --- a/development/newlisp/newlisp.SlackBuild +++ b/development/newlisp/newlisp.SlackBuild @@ -1,32 +1,59 @@ -#!/bin/sh +#!/bin/bash # -# Written by Jockey S. Kyd (jockey dot kyd at gmail dot com) +# Slackware build script for newlisp # -# Latest version by Markus Hutmacher (markus dot hutmacher at gmail dot com) -# May 2013 +# Copyright 2022 Juan M. Lasca <juanmlasca@gmail.com> +# All rights reserved. # -# Public domain +# Redistribution and use of this script, with or without modification, is +# permitted provided that the following conditions are met: +# +# 1. Redistributions of this script must retain the above copyright +# notice, this list of conditions and the following disclaimer. +# +# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED +# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF +# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO +# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, +# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; +# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, +# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF +# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +# 2011: Written by Jockey S. Kyd <jockey.kyd@gmail.com> +# 2012-2022: Updated by Matteo Bernardini <ponce@slackbuilds.org> +# and Markus Hutmacher <markus.hutmacher@gmail.com> +# 2022: Updated by Juan M. Lasca <juanmlasca@gmail.com> + +cd $(dirname $0) ; CWD=$(pwd) PRGNAM=newlisp -VERSION=${VERSION:-10.6.2} +VERSION=${VERSION:-10.7.5} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} if [ -z "$ARCH" ]; then case "$(uname -m)" in - i?86) ARCH=i486 ;; + i?86) ARCH=i586 ;; arm*) ARCH=arm ;; *) ARCH=$(uname -m) ;; esac fi -CWD=$(pwd) +if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then + echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE" + exit 0 +fi + TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} -if [ "$ARCH" = "i486" ]; then - SLKCFLAGS="-O2 -march=i486 -mtune=i686" +if [ "$ARCH" = "i586" ]; then + SLKCFLAGS="-O2 -march=i586 -mtune=i686" LIBDIRSUFFIX="" elif [ "$ARCH" = "i686" ]; then SLKCFLAGS="-O2 -march=i686 -mtune=i686" @@ -57,6 +84,7 @@ find -L . \ ./configure-alt \ --prefix=/usr \ --mandir=/usr/man \ + --datadir=/usr/share \ --docdir=/usr/doc/$PRGNAM-$VERSION make make install DESTDIR=$PKG @@ -76,11 +104,25 @@ mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION fi done ) -cp -a README examples $PKG/usr/doc/$PRGNAM-$VERSION +cp -a README $PKG/usr/doc/$PRGNAM-$VERSION + +# copy relevant files to pkg's doc dir, avoiding unnecessary ones +( + mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION/examples; + cd examples; + for i in $(cut -f1 -d' ' README.txt); do + cp -a $i $PKG/usr/doc/$PRGNAM-$VERSION/examples/; + done; + chmod 644 $PKG/usr/doc/$PRGNAM-$VERSION/examples/*; +) + +# remove install instructions from $PKG/doc +rm $PKG/usr/doc/$PRGNAM-$VERSION/INSTALL; + cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild mkdir -p $PKG/install cat $CWD/slack-desc > $PKG/install/slack-desc cd $PKG -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/development/newlisp/newlisp.info b/development/newlisp/newlisp.info index af157241a5..645ef98180 100644 --- a/development/newlisp/newlisp.info +++ b/development/newlisp/newlisp.info @@ -1,10 +1,10 @@ PRGNAM="newlisp" -VERSION="10.6.2" +VERSION="10.7.5" HOMEPAGE="http://www.newlisp.org/" -DOWNLOAD="http://ponce.cc/slackware/sources/repo/newlisp-10.6.2.tgz" -MD5SUM="c680a5da323d0c07eaf985663a96ec51" +DOWNLOAD="http://www.newlisp.org/downloads/newlisp-10.7.5.tgz" +MD5SUM="e3fa56cf45af8853ff8a3182b79e1b61" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" -MAINTAINER="Markus Hutmacher" -EMAIL="mailing@markhu.de" +MAINTAINER="Juan M. Lasca" +EMAIL="juanmlasca@gmail.com" |