void-packages/srcpkgs/ocaml-num/template
2021-10-03 13:05:58 +02:00

24 lines
710 B
Bash

# Template file for 'ocaml-num'
pkgname=ocaml-num
version=1.4
revision=3
wrksrc="num-${version}"
build_style=gnu-makefile
make_install_target="findlib-install"
makedepends="ocaml ocaml-findlib"
short_desc="OCaml legacy Num library for arbitrary-precision integers"
maintainer="Leah Neukirchen <leah@vuxu.org>"
license="custom: LGPL-2.1-only with OCaml-LGPL-linking-exception"
homepage="https://github.com/ocaml/num"
distfiles="https://github.com/ocaml/num/archive/v${version}.tar.gz"
checksum=015088b68e717b04c07997920e33c53219711dfaf36d1196d02313f48ea00f24
nocross=yes
pre_install() {
export OCAMLFIND_DESTDIR=${DESTDIR}/usr/lib/ocaml
vmkdir /usr/lib/ocaml/stublibs
}
post_install() {
vlicense LICENSE
}