mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-08 21:00:05 +02:00
96 lines
2.2 KiB
Bash
96 lines
2.2 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="e4ea65bb1861e0e495386bfa8bc673bd014e96d3cf9d91e9038f91435cbe622b"
|
|
PATCHES="ecl-$portVersion.patchset"
|
|
|
|
ARCHITECTURES="all ?x86_gcc2"
|
|
SECONDARY_ARCHITECTURES="?x86"
|
|
|
|
libVersion="$portVersion"
|
|
libVersionCompat="$libVersion compat >= ${libVersion%.**}"
|
|
|
|
PROVIDES="
|
|
ecl$secondaryArchSuffix = $portVersion
|
|
cmd:ecl$secondaryArchSuffix
|
|
lib:libecl$secondaryArchSuffix
|
|
"
|
|
REQUIRES="
|
|
haiku$secondaryArchSuffix
|
|
lib:libatomic_ops$secondaryArchSuffix
|
|
lib:libffi$secondaryArchSuffix
|
|
lib:libgc$secondaryArchSuffix
|
|
lib:libgmp$secondaryArchSuffix
|
|
"
|
|
|
|
PROVIDES_devel="
|
|
ecl${secondaryArchSuffix}_devel = $portVersion
|
|
cmd:ecl_config$secondaryArchSuffix
|
|
devel:libecl$secondaryArchSuffix = $libVersionCompat
|
|
"
|
|
REQUIRES_devel="
|
|
ecl$secondaryArchSuffix == $portVersion base
|
|
"
|
|
|
|
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
|
|
|
|
prepareInstalledDevelLib \
|
|
libecl
|
|
|
|
packageEntries devel \
|
|
$developDir \
|
|
$binDir/ecl-config \
|
|
$manDir/man1/ecl-config.1
|
|
|
|
for i in COPYING LICENSE TAGS ecl_min dpp build-stamp; do
|
|
rm $libDir/ecl-$portVersion/$i
|
|
done
|
|
}
|
|
|
|
TEST()
|
|
{
|
|
make check
|
|
}
|