mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-09 05:10:05 +02:00
ecl: add recipe.
Big kudos to @dkochmanski for help with this port.
This commit is contained in:
75
dev-lisp/ecl/ecl-16.1.3.recipe
Normal file
75
dev-lisp/ecl/ecl-16.1.3.recipe
Normal file
@@ -0,0 +1,75 @@
|
||||
SUMMARY="Embeddable Common-Lisp interpreter"
|
||||
DESCRIPTION="ECL (Embeddable Common-Lisp) is an interpreter of the \
|
||||
Common-Lisp language as described in the X3J13 Ansi specification, featuring \
|
||||
CLOS (Common-Lisp Object System), conditions, loops, etc, plus a translator \
|
||||
to C, which can produce standalone executables."
|
||||
HOMEPAGE="http://www.ecl.org"
|
||||
COPYRIGHT="2015 Daniel Kochmański
|
||||
2000 Juan Jose Garcia Ripoll
|
||||
1990, 1991, 1993 Giuseppe Attardi
|
||||
1984 Taiichi Yuasa and Masami Hagiya"
|
||||
LICENSE="GNU LGPL v2.1"
|
||||
REVISION="1"
|
||||
SOURCE_URI="https://common-lisp.net/project/ecl/static/files/release/ecl-$portVersion.tgz"
|
||||
CHECKSUM_SHA256="76a585c616e8fa83a6b7209325a309da5bc0ca68e0658f396f49955638111254"
|
||||
|
||||
ARCHITECTURES="!x86_gcc2 x86 ?x86_64"
|
||||
SECONDARY_ARCHITECTURES="?x86"
|
||||
|
||||
PROVIDES="
|
||||
ecl$secondaryArchSuffix = $portVersion
|
||||
cmd:ecl$secondaryArchSuffix
|
||||
cmd:ecl_config$secondaryArchSuffix
|
||||
lib:libecl$secondaryArchSuffix
|
||||
devel:libecl$secondaryArchSuffix
|
||||
"
|
||||
REQUIRES="
|
||||
haiku$secondaryArchSuffix
|
||||
lib:libgc$secondaryArchSuffix
|
||||
lib:libatomic_ops$secondaryArchSuffix
|
||||
lib:libffi$secondaryArchSuffix
|
||||
lib:libgmp$secondaryArchSuffix
|
||||
"
|
||||
|
||||
BUILD_REQUIRES="
|
||||
haiku${secondaryArchSuffix}_devel
|
||||
devel:libatomic_ops$secondaryArchSuffix
|
||||
devel:libgc$secondaryArchSuffix
|
||||
devel:libffi$secondaryArchSuffix
|
||||
devel:libgmp$secondaryArchSuffix
|
||||
"
|
||||
|
||||
BUILD_PREREQUIRES="
|
||||
cmd:autoreconf
|
||||
cmd:libtoolize$secondaryArchSuffix
|
||||
cmd:make
|
||||
cmd:gcc$secondaryArchSuffix
|
||||
cmd:which
|
||||
"
|
||||
|
||||
BUILD()
|
||||
{
|
||||
cd src
|
||||
libtoolize --force --copy --install
|
||||
autoreconf -fi
|
||||
cd ..
|
||||
runConfigure ./configure --enable-threads=no --with-dffi=system \
|
||||
--enable-boehm=system
|
||||
# doesn't work with $jobArgs
|
||||
make
|
||||
}
|
||||
|
||||
INSTALL()
|
||||
{
|
||||
make install
|
||||
|
||||
for i in COPYING LICENSE TAGS ecl_min dpp build-stamp; do
|
||||
rm $prefix/lib/ecl-$portVersion/$i
|
||||
done
|
||||
}
|
||||
|
||||
TEST()
|
||||
{
|
||||
# 2 tests fail, 1 crashes in FFI
|
||||
make check
|
||||
}
|
||||
Reference in New Issue
Block a user