[SM-Commit] GIT changes to master grimoire by Florian Franzmann (88d20581565e08c66bcd8245db504ebf8a56a00e)

Florian Franzmann scm at sourcemage.org
Sat Mar 31 06:19:52 EDT 2012


GIT changes to master grimoire by Florian Franzmann <siflfran at hawo.stw.uni-erlangen.de>:

 ChangeLog                    |    4 ++++
 devel/camlidl/BUILD          |    1 +
 devel/camlidl/DEPENDS        |    1 +
 devel/camlidl/DETAILS        |   24 ++++++++++++++++++++++++
 devel/camlidl/HISTORY        |    3 +++
 devel/camlidl/Makefile.patch |   21 +++++++++++++++++++++
 devel/camlidl/PRE_BUILD      |    5 +++++
 7 files changed, 59 insertions(+)

New commits:
commit 88d20581565e08c66bcd8245db504ebf8a56a00e
Author: Florian Franzmann <siflfran at hawo.stw.uni-erlangen.de>
Commit: Florian Franzmann <siflfran at hawo.stw.uni-erlangen.de>

    devel/camlidl: new spell, a stub code generator and COM binding for
    Objective Caml

diff --git a/ChangeLog b/ChangeLog
index 43f6f18..3d21e32 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2012-03-31 Florian Franzmann <siflfran at hawo.stw.uni-erlangen.de>
+	* devel/camlidl: new spell, a stub code generator and COM binding for
+	  Objective Caml
+
 2012-03-29 Ladislav Hagara <hgr at vabo.cz>
 	* gnome3-libs/gcr: new spell, library for high level crypto parsing
 
diff --git a/devel/camlidl/BUILD b/devel/camlidl/BUILD
new file mode 100755
index 0000000..6dfecc1
--- /dev/null
+++ b/devel/camlidl/BUILD
@@ -0,0 +1 @@
+default_build_make
diff --git a/devel/camlidl/DEPENDS b/devel/camlidl/DEPENDS
new file mode 100755
index 0000000..1a31e9f
--- /dev/null
+++ b/devel/camlidl/DEPENDS
@@ -0,0 +1 @@
+depends ocaml 
diff --git a/devel/camlidl/DETAILS b/devel/camlidl/DETAILS
new file mode 100755
index 0000000..e36b145
--- /dev/null
+++ b/devel/camlidl/DETAILS
@@ -0,0 +1,24 @@
+           SPELL=camlidl
+         VERSION=1.05
+          SOURCE="${SPELL}-${VERSION}.tar.gz"
+   SOURCE_URL[0]=http://caml.inria.fr/pub/old_caml_site/distrib/bazar-ocaml/${SOURCE}
+     SOURCE_HASH=sha512:e8857aca818a06f8c861e5f55dddd7e8e3ab1efae51647534460b4f092166709d86c6de1215c792a0489d668d72064ccfb7635e9a6d3854cd5a62f74541a9d18
+SOURCE_DIRECTORY="${BUILD_DIRECTORY}/${SPELL}-${VERSION}"
+        WEB_SITE="http://caml.inria.fr/pub/old_caml_site/camlidl/"
+      LICENSE[0]=GPL
+         ENTERED=20120331
+           SHORT="a stub code generator and COM binding for Objective Caml"
+cat << EOF
+CamlIDL is a stub code generator and COM binding for Objective Caml.
+
+CamlIDL comprises two parts:
+
+* A stub code generator that generates the C stub code required for the Caml/C
+  interface, based on an MIDL specification. (MIDL stands for Microsoft's
+  Interface Description Language; it looks like C header files with some
+  extra annotations, plus a notion of object interfaces that look like C++
+  classes without inheritance.)
+
+* A (currently small) library of functions and tools to import COM components
+  in Caml applications, and export Caml code as COM components.
+EOF
diff --git a/devel/camlidl/HISTORY b/devel/camlidl/HISTORY
new file mode 100644
index 0000000..98660e5
--- /dev/null
+++ b/devel/camlidl/HISTORY
@@ -0,0 +1,3 @@
+2012-03-31 Florian Franzmann <siflfran at hawo.stw.uni-erlangen.de>
+	* BUILD, DEPENDS, DETAILS, Makefile.patch, PRE_BUILD: spell created
+
diff --git a/devel/camlidl/Makefile.patch b/devel/camlidl/Makefile.patch
new file mode 100644
index 0000000..a4e583a
--- /dev/null
+++ b/devel/camlidl/Makefile.patch
@@ -0,0 +1,21 @@
+--- camlidl-1.05/config/Makefile.unix.orig	2012-03-31 12:11:39.335097246 +0200
++++ camlidl-1.05/config/Makefile.unix	2012-03-31 12:12:36.311100004 +0200
+@@ -31,7 +31,7 @@
+ #RANLIB=:
+ 
+ # Location of the Objective Caml library in your installation
+-OCAMLLIB=/usr/local/lib/ocaml
++OCAMLLIB=/usr/lib/ocaml
+ 
+ # Where to install the binaries
+ BINDIR=/usr/local/bin
+@@ -43,9 +43,6 @@
+ OCAMLLEX=ocamllex
+ OCAMLDEP=ocamldep
+ 
+-# Extra flags to pass to the C compiler
+-CFLAGS=-Wall -g
+-
+ # Suffixes for executables and libraries (do not change)
+ EXE=
+ LIBEXT=a
diff --git a/devel/camlidl/PRE_BUILD b/devel/camlidl/PRE_BUILD
new file mode 100755
index 0000000..c7a6b6d
--- /dev/null
+++ b/devel/camlidl/PRE_BUILD
@@ -0,0 +1,5 @@
+default_pre_build                              &&
+cd ${SOURCE_DIRECTORY}                         &&
+patch -p1 < ${SCRIPT_DIRECTORY}/Makefile.patch &&
+sedit "s:BINDIR=/usr/local/bin:BINDIR=${INSTALL_ROOT}/usr/bin:" config/Makefile.unix &&
+mv config/Makefile.unix config/Makefile


More information about the SM-Commit mailing list