From f4469e8d3bf50cf38899b5f30f66a03324626285 Mon Sep 17 00:00:00 2001
From: pancake <pancake@nopcode.org>
Date: Mon, 29 Apr 2013 16:42:08 +0200
Subject: [PATCH] New package: ocaml-lidl-1.05

---
 srcpkgs/ocaml-lidl/template | 33 +++++++++++++++++++++++++++++++++
 1 file changed, 33 insertions(+)
 create mode 100644 srcpkgs/ocaml-lidl/template

diff --git a/srcpkgs/ocaml-lidl/template b/srcpkgs/ocaml-lidl/template
new file mode 100644
index 00000000000..98958bb1b16
--- /dev/null
+++ b/srcpkgs/ocaml-lidl/template
@@ -0,0 +1,33 @@
+# Template file for 'ocaml-lidl'
+pkgname=ocaml-lidl
+version=1.05
+revision=1
+wrksrc="camlidl-${version}"
+makedepends="ocaml-compiler-libs"
+short_desc="stub code generator and COM binding for Objective Caml"
+maintainer="pancake <pancake@nopcode.org>"
+homepage="http://caml.inria.fr/pub/old_caml_site/camlidl/"
+license="Q"
+distfiles="http://caml.inria.fr/pub/old_caml_site/distrib/bazar-ocaml/camlidl-${version}.tar.gz"
+checksum=857ed5bd3b2f99c62813070e1a5b4b6375e837c6815f4ad956baeb6f8c660311
+
+disable_parallel_build=yes
+
+do_configure() {
+	cp -f config/Makefile.unix config/Makefile
+}
+
+do_build() {
+	make ${makejobs} CPP=cpp BINDIR=/usr/bin OCAMLLIB=/usr/lib/ocaml
+}
+
+do_install() {
+	mkdir -p ${DESTDIR}/usr/bin ${DESTDIR}/usr/lib/ocaml/caml
+	make BINDIR=${DESTDIR}/usr/bin OCAMLLIB=${DESTDIR}/usr/lib/ocaml install
+}
+
+ocaml-lidl_package() {
+	pkg_install() {
+		vmove all
+	}
+}