summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
author Juan M. Lasca <juanmlasca@gmail.com>2023-01-12 20:54:58 +0000
committer Willy Sudiarto Raharjo <willysr@slackbuilds.org>2023-01-14 08:50:08 +0700
commit56f084c344db9bac6441750b449a001c7f9f1f99 (patch)
tree509ea9bf0d4c262855c1c7e30040a68ee40023bd
parent7e49f9515ab88327ae8450691ae8c7579acc84b9 (diff)
downloadslackbuilds-56f084c344db9bac6441750b449a001c7f9f1f99.tar.gz
slackbuilds-56f084c344db9bac6441750b449a001c7f9f1f99.tar.xz
development/newlisp: Updated for version 10.7.5. New maintainer.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r--development/newlisp/README13
-rw-r--r--development/newlisp/newlisp.SlackBuild50
-rw-r--r--development/newlisp/newlisp.info10
3 files changed, 55 insertions, 18 deletions
diff --git a/development/newlisp/README b/development/newlisp/README
index 47af4b1ab5..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 bb2ea09d26..6cf18b82ae 100644
--- a/development/newlisp/newlisp.SlackBuild
+++ b/development/newlisp/newlisp.SlackBuild
@@ -1,16 +1,36 @@
#!/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}
@@ -23,9 +43,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
-# the name of the created package would be, and then exit. This information
-# could be useful to other scripts.
if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
exit 0
@@ -67,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
@@ -86,7 +104,21 @@ 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
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"