39 lines
1.1 KiB
Bash
39 lines
1.1 KiB
Bash
# Template file for 'ol'
|
|
pkgname=ol
|
|
version=2.6
|
|
revision=1
|
|
build_style=gnu-makefile
|
|
make_use_env=yes
|
|
make_build_args="HAVE_SOCKETS=1 HAVE_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/refs/tags/${version}.tar.gz
|
|
https://github.com/yuriy-chumak/libol-opengl/archive/refs/tags/${version}.tar.gz>libopengl-${version}.tar.gz"
|
|
checksum="c5506de4005a63039dc96962322ae94bf6c33eeaf63dcc03b07b1e8cc3a4d8f3
|
|
386bceb757896bcbe4252b0a1a6e2e7d6dc643129210abf35b203e67b2c5d7fb"
|
|
|
|
if [[ "$XBPS_TARGET_WORDSIZE" -eq 32 ]]; then
|
|
make_check_args="HAS_64CDEFS=0"
|
|
else
|
|
make_check_args="HAS_32CDEFS=0"
|
|
fi
|
|
|
|
post_extract() {
|
|
shopt -s dotglob
|
|
# collect project files:
|
|
mv -v ol-${version}/* .
|
|
rmdir ol-${version}
|
|
# move the OpenGL submodule to the proper location:
|
|
mv -v libol-opengl-${version}/* ./libraries/OpenGL/
|
|
rmdir libol-opengl-${version}
|
|
}
|
|
|
|
post_install() {
|
|
vlicense LICENSE
|
|
}
|