void-packages/srcpkgs/ocaml/template

22 lines
586 B
Bash

# Template file for 'ocaml'
pkgname=ocaml
version=5.2.0
revision=1
build_style="gnu-configure"
configure_args="--with-pic --libdir=/usr/lib/ocaml"
makedepends="libzstd-devel"
depends="${makedepends}"
short_desc="Main implementation of the OCaml language"
maintainer="Leah Neukirchen <leah@vuxu.org>"
license="QPL-1.0, LGPL-2.1-only"
homepage="http://ocaml.org/"
distfiles="https://github.com/ocaml/ocaml/archive/refs/tags/${version}.tar.gz"
checksum=48554abfd530fcdaa08f23f801b699e4f74c320ddf7d0bd56b0e8c24e55fc911
nocross=yes
export ASPP="cc -c"
post_install() {
vlicense LICENSE
}