# Template file for 'ol'
pkgname=ol
version=2.4
revision=1
build_style=gnu-makefile
make_use_env=yes
make_build_args="HAS_SOCKETS=1 HAS_DLOPEN=1 OLVM_FFI=1"
hostmakedepends="xxd"
short_desc="Purely functional dialect of Lisp"
maintainer="rc-05 <rc23@email.it>"
license="LGPL-3.0-or-later, MIT"
homepage="https://yuriy-chumak.github.io/ol/"
changelog="https://raw.githubusercontent.com/yuriy-chumak/ol/master/doc/CHANGELOG.md"
distfiles="https://github.com/yuriy-chumak/ol/archive/${version}.tar.gz"
checksum=019978ddcf0befc8b8de9f50899c9dd0f47a3e18cf9556bc72a75ae2d1d965d4

if [[ "$XBPS_TARGET_WORDSIZE" -eq 32 ]]; then
	make_check_args="HAS_64CDEFS=0"
else
	make_check_args="HAS_32CDEFS=0"
fi

post_install() {
	vlicense LICENSE
}
