[ismrmrd] 02/07: d/{control,rules}: add java bindings package

Ghislain Vaillant ghisvail-guest at moszumanska.debian.org
Mon May 26 18:05:59 UTC 2014


This is an automated email from the git hooks/post-receive script.

ghisvail-guest pushed a commit to branch master
in repository ismrmrd.

commit 7c1ef48bef3d3932a7b4eabc26755a9087d450ae
Author: Ghislain Vaillant <ghisvail at gmail.com>
Date:   Mon May 26 17:09:18 2014 +0100

    d/{control,rules}: add java bindings package
---
 debian/control | 37 +++++++++++++++++++------------------
 debian/rules   |  9 +++++++++
 2 files changed, 28 insertions(+), 18 deletions(-)

diff --git a/debian/control b/debian/control
index 9e639bd..eb3b002 100644
--- a/debian/control
+++ b/debian/control
@@ -15,7 +15,8 @@ Build-Depends:
  xsdcxx,
  python-dev,
  python-numpy,
- swig
+ swig,
+ default-jdk
 Build-Depends-Indep:
  doxygen 
 Standards-Version: 3.9.5
@@ -139,23 +140,23 @@ Description: ISMRM Raw Data format (ISMRMRD) - Python bindings
 # .
 # This package provides the Python bindings for XSD generated with pyxb.
 
-#Package: libismrmrd-java
-#Section: java
-#Architecture: any
-#Depends:
-# ${misc:Depends},
-# ${shlibs:Depends}
-#Description: ISMRM Raw Data format (ISMRMRD) - Java bindings
-# The ISMRMRD format combines a mix of flexible data structures (XML header) 
-# and fixed structures (equivalent to C-structs) to represent MRI data.
-# .
-# In addition, the ISMRMRD format also specifies an image header for storing 
-# reconstructed images and the accompanying C++ library provides a convenient 
-# way of writing such images into HDF5 files along with generic arrays for 
-# storing less well defined data structures, e.g. coil sensitivity maps or 
-# other calibration data.
-# .
-# This package provides the SWIG generated Java bindings.
+Package: ismrmrd-java
+Section: java
+Architecture: any
+Depends:
+ ${misc:Depends},
+ ${shlibs:Depends}
+Description: ISMRM Raw Data format (ISMRMRD) - Java bindings
+ The ISMRMRD format combines a mix of flexible data structures (XML header) 
+ and fixed structures (equivalent to C-structs) to represent MRI data.
+ .
+ In addition, the ISMRMRD format also specifies an image header for storing 
+ reconstructed images and the accompanying C++ library provides a convenient 
+ way of writing such images into HDF5 files along with generic arrays for 
+ storing less well defined data structures, e.g. coil sensitivity maps or 
+ other calibration data.
+ .
+ This package provides the SWIG generated Java bindings.
 
 #Package: matlab-ismrmrd
 #Section: science
diff --git a/debian/rules b/debian/rules
old mode 100644
new mode 100755
index 1835ac3..0c1e430
--- a/debian/rules
+++ b/debian/rules
@@ -9,6 +9,7 @@ BUILDDIR = $(CURDIR)/debian/build
 SOURCEPKG=ismrmrd
 BINARYPKG=lib$(SOURCEPKG)0
 APIDOCPKG=lib$(SOURCEPKG)-dev-doc
+JAVAPKG=$(SOURCEPKG)-java
 
 PYTHON=$(shell pyversions -d)
 PYTHONDIR=$(shell /bin/ls -d /usr/lib/$(PYTHON)/*-packages)
@@ -40,6 +41,14 @@ override_dh_auto_install:
 		debian/tmp/usr/${SOURCEPKG}/python/_ismrmrd.so \
 		debian/python-${SOURCEPKG}$(PYTHONDIR)
 
+	: I: install SWIG Java bindings
+	mkdir -p debian/${JAVAPKG}/usr/share/java
+	install -m 0644 debian/tmp/usr/${SOURCEPKG}/java/ismrmrd.jar \
+		debian/${JAVAPKG}/usr/share/java
+	mkdir -p debian/${JAVAPKG}/usr/lib/jni
+	install -m 0644 debian/tmp/usr/${SOURCEPKG}/java/libjismrmrd.so \
+		debian/${JAVAPKG}/usr/lib/jni
+
 	: I: install wrapper script for the tools package
 	mkdir -p debian/${SOURCEPKG}-tools/usr/bin
 	install -m 0755 debian/ismrmrd_generate_cartesian_shepp_logan \

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/ismrmrd.git



More information about the debian-science-commits mailing list