void-packages/srcpkgs/newlisp/template

34 lines
1.2 KiB
Text
Raw Normal View History

2011-12-21 20:12:28 +00:00
# Template file for 'newlisp'
pkgname=newlisp
2011-12-21 23:19:40 +00:00
version=10.3.9
2011-12-21 20:14:24 +00:00
homepage="http://www.newlisp.org"
2011-12-21 23:19:40 +00:00
distfiles="$homepage/downloads/development/$pkgname-$version.tgz"
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"
2011-12-21 23:19:40 +00:00
checksum=86e8a54e578984fb11528fef135ca935566126f6a8c6eb26653c6ebd1abeec2e
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."
Add_dependency build readline-devel
2011-12-21 23:19:40 +00:00
Add_dependency build libffi-devel
2011-12-21 20:12:28 +00:00
do_build() {
2011-12-21 23:19:40 +00:00
sed -i "s|i386-linux-gnu/||" newlisp.h
2011-12-21 20:12:28 +00:00
./configure && make ${makejobs}
}
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
}