2011-12-21 20:12:28 +00:00
|
|
|
# Template file for 'newlisp'
|
|
|
|
pkgname=newlisp
|
2013-03-21 00:06:54 +00:00
|
|
|
version=10.4.5
|
2013-03-21 00:17:43 +00:00
|
|
|
revision=2
|
2013-03-24 09:21:58 +00:00
|
|
|
hostmakedepends="which"
|
|
|
|
makedepends="readline-devel libffi-devel"
|
2011-12-21 20:12:28 +00:00
|
|
|
short_desc="Lisp-like, general-purpose scripting language"
|
|
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
|
|
|
license="GPL-3, zlib, $pkgname"
|
2012-06-04 14:57:56 +00:00
|
|
|
homepage="http://www.newlisp.org"
|
|
|
|
distfiles="$homepage/downloads/$pkgname-$version.tgz"
|
2013-03-21 00:06:54 +00:00
|
|
|
checksum=4bf972a8e5f8c4490f02e6a987ee76c4690498841ffd5235b38a03694ad2da52
|
2011-12-21 20:12:28 +00:00
|
|
|
long_desc="
|
|
|
|
newLISP is a Lisp-like, general-purpose scripting language. It is especially
|
|
|
|
well-suited for applications in AI, web search, natural language processing,
|
|
|
|
and machine learning. Because of its small resource requirements, newLISP
|
|
|
|
is also 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 parallel processing, and Bayesian statistics."
|
|
|
|
|
|
|
|
do_build() {
|
2013-03-24 09:21:58 +00:00
|
|
|
if [ "$XBPS_TARGET_MACHINE" = "x86_64" ]; then
|
2013-03-21 00:17:43 +00:00
|
|
|
export CFLAGS="$CFLAGS -DNEWLISP64"
|
|
|
|
fi
|
2013-03-21 00:06:54 +00:00
|
|
|
make -f makefile_linuxLP64_utf8_ffi ${makejobs}
|
2011-12-21 20:12:28 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
do_install() {
|
|
|
|
vmkdir usr/bin
|
|
|
|
vmkdir usr/share/man/man1
|
|
|
|
make bindir=$DESTDIR/usr/bin datadir=$DESTDIR/usr/share \
|
|
|
|
mandir=$DESTDIR/usr/share/man install
|
|
|
|
vmove usr/share/doc/$pkgname/COPYING \
|
|
|
|
usr/share/licenses/$pkgname
|
2013-03-21 00:17:43 +00:00
|
|
|
|
|
|
|
# Create newlisp symlink;
|
|
|
|
ln -sfr ${DESTDIR}/usr/bin/newlisp-${version} ${DESTDIR}/usr/bin/newlisp
|
2011-12-21 20:12:28 +00:00
|
|
|
}
|
2013-04-14 02:36:19 +00:00
|
|
|
|
|
|
|
newlisp_package() {
|
|
|
|
pkg_install() {
|
|
|
|
vmove usr
|
|
|
|
}
|
|
|
|
}
|