[libsaxon-java] 10/33: libsaxon-java (1:6.5.5-3) unstable; urgency=low

Emmanuel Bourg ebourg-guest at moszumanska.debian.org
Mon Jun 19 12:26:38 UTC 2017


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

ebourg-guest pushed a commit to branch master
in repository libsaxon-java.

commit b9503824060801791a8de856aaef70aba43a734c
Author: Michael Koch <konqueror at gmx.de>
Date:   Sat Jan 5 08:44:21 2008 +0000

    libsaxon-java (1:6.5.5-3) unstable; urgency=low
    
      * Build -gcj package. Closes: #458247.
    
     -- Michael Koch <konqueror at gmx.de>  Sat, 29 Dec 2007 23:14:56 +0100
---
 debian/changelog |  6 ++++++
 debian/control   | 11 +++++++++++
 debian/rules     | 22 +++++++++++++++++++++-
 3 files changed, 38 insertions(+), 1 deletion(-)

diff --git a/debian/changelog b/debian/changelog
index 95a48ca..faf2fdd 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,9 @@
+libsaxon-java (1:6.5.5-3) unstable; urgency=low
+
+  * Build -gcj package. Closes: #458247.
+
+ -- Michael Koch <konqueror at gmx.de>  Sat, 29 Dec 2007 23:14:56 +0100
+
 libsaxon-java (1:6.5.5-2) unstable; urgency=low
 
   * (Build-)Depends on java-gcj-compat(-dev).
diff --git a/debian/control b/debian/control
index 1a1376f..31f3a5e 100644
--- a/debian/control
+++ b/debian/control
@@ -21,6 +21,17 @@ Description: The Saxon XSLT Processor
  with the DocBook XSL Stylesheets. Related packages make the process
  straightforward.
 
+Package: libsaxon-java-gcj
+Architecture: any
+Depends: libsaxon-java (>= ${source:Version}), ${misc:Depends}, ${shlibs:Depends}
+Description: The Saxon XSLT Processor (native code)
+ The saxon package is a collection of tools for processing XML documents and
+ implements the XSLT 1.0 recommendation, including XPath 1.0, in its entirety.
+ .
+ Saxon is known to work well for processing DocBook XML documents
+ with the DocBook XSL Stylesheets. Related packages make the process
+ straightforward.
+
 Package: libsaxon-java-doc
 Section: doc
 Architecture: all
diff --git a/debian/rules b/debian/rules
index 9e2d021..fc00cd8 100755
--- a/debian/rules
+++ b/debian/rules
@@ -16,6 +16,11 @@ JDOM=com/icl/saxon/jdom
 UPSTREAM_VERSION = 6.5.5
 CLASSPATH = /usr/share/java/jdom1.jar
 
+include /usr/share/gcj/debian_defaults
+ifneq (,$(filter $(DEB_HOST_ARCH), $(gcj_native_archs)))
+  with_gcj_native := yes
+endif
+
 configure: configure-stamp
 configure-stamp:
 	dh_testdir
@@ -71,7 +76,22 @@ binary-indep: build install
 	dh_builddeb -i
 
 binary-arch: build install
-# We have nothing to do by default.
+	dh_testdir -a
+	dh_testroot -a
+	dh_installchangelogs -a
+	dh_installdocs -a
+ifeq ($(with_gcj_native),yes)
+	[ -d debian/libsaxon-ava/usr/share/java ] || dh_install -plibsaxon-java
+	dh_nativejava -plibsaxon-java-gcj
+endif
+	dh_strip -a
+	dh_compress -a
+	dh_fixperms -a
+	dh_installdeb -a
+	dh_shlibdeps -a
+	dh_gencontrol -a
+	dh_md5sums -a
+	dh_builddeb -a
 
 binary: binary-indep binary-arch
 .PHONY: build clean binary-indep binary-arch binary install configure

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-java/libsaxon-java.git



More information about the pkg-java-commits mailing list