Files
haikuports/dev-lisp/ecl/ecl-21.2.1.recipe
Estevan Castilho bbab831ebf ecl: fix build, update to 21.2.1, drop old versions (#8754)
* ecl: fix build, update to 21.2.1, drop old versions

Parallel building seems to have been fixed in the meantime, so enable
that as well. Note that the make check call doesn't seem to work since
it expects ecl to already be installed on the system, which it doesn't
seem to be by the time haikuporter --test calls TEST.

* Update dev-lisp/ecl/ecl-21.2.1.recipe

Co-authored-by: OscarL <oscar.lesta@gmail.com>
2023-05-29 15:14:39 -04:00

78 lines
1.8 KiB
Bash

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="https://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="b15a75dcf84b8f62e68720ccab1393f9611c078fcd3afdd639a1086cad010900"
PATCHES="ecl-21.2.1.patchset"
ARCHITECTURES="all ?x86_gcc2"
SECONDARY_ARCHITECTURES="?x86"
PROVIDES="
ecl$secondaryArchSuffix = $portVersion
cmd:ecl$secondaryArchSuffix
cmd:ecl_config$secondaryArchSuffix
devel:libecl$secondaryArchSuffix
lib:libecl$secondaryArchSuffix
"
REQUIRES="
haiku$secondaryArchSuffix
lib:libatomic_ops$secondaryArchSuffix
lib:libffi$secondaryArchSuffix
lib:libgc$secondaryArchSuffix
lib:libgmp$secondaryArchSuffix
"
BUILD_REQUIRES="
haiku${secondaryArchSuffix}_devel
devel:libatomic_ops$secondaryArchSuffix
devel:libffi$secondaryArchSuffix
devel:libgc$secondaryArchSuffix
devel:libgmp$secondaryArchSuffix
"
BUILD_PREREQUIRES="
cmd:autoreconf
cmd:gcc$secondaryArchSuffix
cmd:libtoolize$secondaryArchSuffix
cmd:make
cmd:which
"
BUILD()
{
cd src
libtoolize --force --copy --install
autoreconf -fi
cd ..
runConfigure ./configure \
--enable-threads=no \
--with-dffi=system \
--enable-boehm=system
make $jobArgs
}
INSTALL()
{
make install
for i in COPYING LICENSE TAGS ecl_min dpp build-stamp; do
rm $prefix/lib/ecl-$portVersion/$i
done
}
TEST()
{
make check
}