[Pkg-ocaml-maint-commits] [SCM] camljava packaging branch, master, updated. upstream/0.3.orig-5-g41faf0a

Stefano Zacchiroli zack at upsilon.cc
Thu Nov 26 14:15:47 UTC 2009


The following commit has been merged in the master branch:
commit 83ae24d4be8b06a6343f098f8394174375ab047a
Author: Stefano Zacchiroli <zack at upsilon.cc>
Date:   Thu Nov 26 13:08:51 2009 +0100

    packaging skeleton

diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..7984f49
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,5 @@
+camljava (0.3-1) UNRELEASED; urgency=low
+
+  * Initial Release (Closes: #558090).
+
+ -- Stefano Zacchiroli <zack at debian.org>  Thu, 26 Nov 2009 11:48:33 +0100
diff --git a/debian/compat b/debian/compat
new file mode 100644
index 0000000..7f8f011
--- /dev/null
+++ b/debian/compat
@@ -0,0 +1 @@
+7
diff --git a/debian/control b/debian/control
new file mode 100644
index 0000000..8abd81d
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,43 @@
+Source: camljava
+Section: ocaml
+Priority: optional
+Maintainer: Debian OCaml Maintainers <debian-ocaml-maint at lists.debian.org>
+Uploaders: Stefano Zacchiroli <zack at debian.org>
+Build-Depends:
+ debhelper (>= 7),
+ ocaml-nox,
+ openjdk-6-jdk,
+ ocaml-findlib,
+ cdbs,
+ quilt,
+ dh-ocaml (>= 0.9)
+Standards-Version: 3.8.3
+Vcs-Git: git://git.debian.org/git/pkg-ocaml-maint/packages/camljava.git
+Vcs-Browser: http://git.debian.org/?p=pkg-ocaml-maint/packages/camljava.git
+Homepage: http://pauillac.inria.fr/~xleroy/software.html#camljava
+
+Package: libcamljava-ocaml-dev
+Architecture: any
+Depends:
+ ${ocaml:Depends},
+ ${shlibs:Depends},
+ ${misc:Depends}
+Provides: ${ocaml:Provides}
+Description: interface between OCaml and Java via Caml/C interface and JNI
+ CamlJava is an interface between OCaml and Java allowing programs written in
+ one of the two languages to call code written in the other.
+ .
+ Interaction among the two languages happen via the respective C interfaces:
+ Caml/C interface for OCaml and JNI (Java Native Interface) for Java.
+ .
+ Currently, CamlJava provides a low-level, weakly-typed OCaml interface very
+ similar to the JNI. Java object references are mapped to an abstract type, and
+ various JNI-like operations are provided to allow Java method invocation,
+ field access, and more.
+ .
+ A basic callback facility (allowing Java code to invoke methods on OCaml
+ objects) is also provided, although some stub Java code must be written by
+ hand.
+ .
+ This package contain all the development stuff needed to use CamlJava from
+ OCaml programs.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..e540081
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,19 @@
+Format-Specification: http://svn.debian.org/wsvn/dep/web/deps/dep5.mdwn?op-file&rev=59
+Name: camljava
+Maintainer: Xavier Leroy <xavier.leroy at inria.fr>
+Source: http://pauillac.inria.fr/~xleroy/software.html#camljava
+
+Files: *
+Copyright: 2001, Institut National de Recherche en Informatique et en Automatique
+License: LGPL-2
+ CamlJava is distributed under the terms of the GNU Library General Public
+ License, version 2.
+ 
+ On Debian systems the full text of the license can be found at
+ /usr/share/common-licenses/LGPL-2 .
+
+Files: debian/*
+Copyright: 2009, Stefano Zacchiroli <zack at debian.org>
+License: LGPL-2
+ The Debian packaging is distributed under the same terms than CamlJava itself,
+ whereas is copyright by the package maintainer.
diff --git a/debian/gbp.conf b/debian/gbp.conf
new file mode 100644
index 0000000..cec628c
--- /dev/null
+++ b/debian/gbp.conf
@@ -0,0 +1,2 @@
+[DEFAULT]
+pristine-tar = True
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..8832ed1
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,17 @@
+#!/usr/bin/make -f
+include /usr/share/cdbs/1/rules/patchsys-quilt.mk
+include /usr/share/cdbs/1/rules/debhelper.mk
+include /usr/share/cdbs/1/class/makefile.mk
+include /usr/share/cdbs/1/rules/ocaml.mk
+
+PKGNAME = libcamljava-ocaml-dev
+DESTDIR := $(CURDIR)/debian/$(PKGNAME)/$(OCAML_STDLIB_DIR)/camljava
+OCAML_OCAMLDOC_PACKAGES = $(OCAML_LIBDEV_PACKAGES)
+
+DEB_MAKE_INSTALL_TARGET = install CAMLJAVALIB=$(DESTDIR)
+ifeq ($(OCAML_HAVE_OCAMLOPT),yes)
+DEB_MAKE_BUILD_TARGET = all
+else
+DEB_MAKE_BUILD_TARGET = byte
+endif
+
diff --git a/debian/watch b/debian/watch
new file mode 100644
index 0000000..40aa48b
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,2 @@
+version=3
+http://caml.inria.fr/distrib/bazar-ocaml/camljava-(.*)\.tar\.gz

-- 
camljava packaging



More information about the Pkg-ocaml-maint-commits mailing list