mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-16 19:50:19 +01:00
development/newlisp: Updated for version 10.7.5. New maintainer.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
parent
7e49f9515a
commit
56f084c344
3 changed files with 55 additions and 18 deletions
|
@ -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.
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue