diff --git a/srcpkgs/ocaml-num/template b/srcpkgs/ocaml-num/template index 1a9282ac2e5..736c1361b3d 100644 --- a/srcpkgs/ocaml-num/template +++ b/srcpkgs/ocaml-num/template @@ -2,22 +2,23 @@ pkgname=ocaml-num version=1.4 revision=1 +wrksrc="num-${version}" build_style=gnu-makefile -makedepends="ocaml ocaml-findlib" make_install_target="findlib-install" +makedepends="ocaml ocaml-findlib" short_desc="OCaml legacy Num library for arbitrary-precision integers" maintainer="Leah Neukirchen " -license="LGPL-2.1" +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 -wrksrc="num-${version}" nocross=yes pre_install() { export OCAMLFIND_DESTDIR=${DESTDIR}/usr/lib/ocaml vmkdir /usr/lib/ocaml/stublibs } + post_install() { vlicense LICENSE }