From f4469e8d3bf50cf38899b5f30f66a03324626285 Mon Sep 17 00:00:00 2001 From: pancake Date: Mon, 29 Apr 2013 16:42:08 +0200 Subject: [PATCH 1/2] 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 " +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 + } +} From 097a3a2dab8ae7b703f915646cf1b5a74214a158 Mon Sep 17 00:00:00 2001 From: pancake Date: Mon, 29 Apr 2013 16:42:42 +0200 Subject: [PATCH 2/2] ocaml-findlib, ocaml-lidl: enable parallel builds --- srcpkgs/ocaml-findlib/template | 3 +-- srcpkgs/ocaml-lidl/template | 4 +--- 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/srcpkgs/ocaml-findlib/template b/srcpkgs/ocaml-findlib/template index 855e025f951..fa397cc1959 100644 --- a/srcpkgs/ocaml-findlib/template +++ b/srcpkgs/ocaml-findlib/template @@ -1,7 +1,7 @@ # Template file for 'ocaml-findlib' pkgname=ocaml-findlib version=1.3.3 -revision=1 +revision=2 wrksrc="findlib-${version}" makedepends="ocaml-compiler-libs" short_desc="O'Caml library manager" @@ -12,7 +12,6 @@ distfiles="http://download.camlcity.org/download/findlib-${version}.tar.gz" checksum=981f5c67118a2be015efa79f3af3cb0063376b93123b5d695e7cb5c586b1d45c conf_files="/etc/${pkgname}.conf" -disable_parallel_build=yes do_configure() { ./configure -bindir /usr/bin -mandir /usr/share/man -config /etc/${pkgname}.conf diff --git a/srcpkgs/ocaml-lidl/template b/srcpkgs/ocaml-lidl/template index 98958bb1b16..5c6f1bf202b 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=1 +revision=2 wrksrc="camlidl-${version}" makedepends="ocaml-compiler-libs" short_desc="stub code generator and COM binding for Objective Caml" @@ -11,8 +11,6 @@ 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 }