void-packages/srcpkgs/ecl/template
Gonzalo Tornaría 906662e77b ecl: update to 21.2.1.
Also:
- remove fix-libffi-system.patch (not needed anymore)
- clean-up fix-math_fenv_h.patch
  upstream: https://gitlab.com/embeddable-common-lisp/ecl/-/issues/653#note_675299471
- add long long, int64_t and uint64_t in all the cross_config files;
  compilation fails when long long is enabled in host but disabled in target.
- replace the per-arch cross_config files by a single one, which is
  conditional on $XBPS_TARGET_WORDSIZE and $XBPS_TARGET_ENDIAN.
2021-09-15 22:43:57 -03:00

23 lines
843 B
Bash

# Template file for 'ecl'
pkgname=ecl
version=21.2.1
revision=1
build_style=gnu-configure
configure_args="--enable-gmp=system --enable-boehm=system
--enable-libatomic=system --with-dffi=system"
hostmakedepends="pkg-config"
makedepends="gc-devel libatomic_ops-devel gmp-devel libffi-devel"
depends=$makedepends
short_desc="Common-Lisp interpreter as described in the X3J13 Ansi specification"
maintainer="Kyle Nusbaum <knusbaum+void@sdf.org>"
license="LGPL-2.1-or-later"
homepage="https://common-lisp.net/project/ecl/"
distfiles="https://common-lisp.net/project/ecl/static/files/release/ecl-${version}.tgz"
checksum=b15a75dcf84b8f62e68720ccab1393f9611c078fcd3afdd639a1086cad010900
if [ "$CROSS_BUILD" ]; then
# Depend on system ecl
hostmakedepends+=" ecl"
configure_args+=" --with-cross-config=${XBPS_SRCPKGDIR}/ecl/files/cross_config"
fi