diff --git a/srcpkgs/ocaml-lidl/template b/srcpkgs/ocaml-lidl/template index 1f014239c1..9396c5f0c4 100644 --- a/srcpkgs/ocaml-lidl/template +++ b/srcpkgs/ocaml-lidl/template @@ -1,7 +1,7 @@ # Template file for 'ocaml-lidl' pkgname=ocaml-lidl version=1.05 -revision=3 +revision=4 wrksrc="camlidl-${version}" makedepends="ocaml-compiler-libs" short_desc="stub code generator and COM binding for Objective Caml" @@ -22,8 +22,21 @@ do_build() { } do_install() { - mkdir -p ${DESTDIR}/usr/bin ${DESTDIR}/usr/lib/ocaml/caml + mkdir -p ${DESTDIR}/usr/bin \ + ${DESTDIR}/usr/lib/ocaml/caml \ + ${DESTDIR}/usr/lib/ocaml/site-lib/camlidl make BINDIR=${DESTDIR}/usr/bin OCAMLLIB=${DESTDIR}/usr/lib/ocaml install + cat > ${DESTDIR}/usr/lib/ocaml/site-lib/camlidl/META << EOF +# Specifications for the "unix" library: +requires = "" +description = "LIDL" +version = "1.05" +directory = "^" +browse_interfaces = " Unit name: Unix Unit name: UnixLabels " +archive(byte) = "com.cma" +archive(native) = "com.cmxa" +archive(byte,mt_vm) = "com.cma" +EOF } ocaml-lidl_package() {