[pkg-java] r5310 - trunk/libsaxon-java/debian

mkoch at alioth.debian.org mkoch at alioth.debian.org
Sat Jan 5 08:44:21 UTC 2008


Author: mkoch
Date: 2008-01-05 08:44:21 +0000 (Sat, 05 Jan 2008)
New Revision: 5310

Modified:
   trunk/libsaxon-java/debian/changelog
   trunk/libsaxon-java/debian/control
   trunk/libsaxon-java/debian/rules
Log:
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



Modified: trunk/libsaxon-java/debian/changelog
===================================================================
--- trunk/libsaxon-java/debian/changelog	2008-01-05 01:27:22 UTC (rev 5309)
+++ trunk/libsaxon-java/debian/changelog	2008-01-05 08:44:21 UTC (rev 5310)
@@ -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).

Modified: trunk/libsaxon-java/debian/control
===================================================================
--- trunk/libsaxon-java/debian/control	2008-01-05 01:27:22 UTC (rev 5309)
+++ trunk/libsaxon-java/debian/control	2008-01-05 08:44:21 UTC (rev 5310)
@@ -21,6 +21,17 @@
  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

Modified: trunk/libsaxon-java/debian/rules
===================================================================
--- trunk/libsaxon-java/debian/rules	2008-01-05 01:27:22 UTC (rev 5309)
+++ trunk/libsaxon-java/debian/rules	2008-01-05 08:44:21 UTC (rev 5310)
@@ -16,6 +16,11 @@
 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 @@
 	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




More information about the pkg-java-commits mailing list