[xml/sgml-commit] r880 - in /packages/docbook-xsl-saxon/trunk/debian: ant.properties control rules
dleidert-guest at users.alioth.debian.org
dleidert-guest at users.alioth.debian.org
Mon Sep 10 23:20:44 UTC 2007
Author: dleidert-guest
Date: Mon Sep 10 23:20:43 2007
New Revision: 880
URL: http://svn.debian.org/wsvn/debian-xml-sgml/?sc=1&rev=880
Log:
* debian/control (Build-Depends, Depends): Added missing Saxon 6.5.
* debian/rules: Make the package compile and build with kaffe.
* debian/ant.properties: Removed. Must specify this via ANT_ARGS.
Removed:
packages/docbook-xsl-saxon/trunk/debian/ant.properties
Modified:
packages/docbook-xsl-saxon/trunk/debian/control
packages/docbook-xsl-saxon/trunk/debian/rules
Modified: packages/docbook-xsl-saxon/trunk/debian/control
URL: http://svn.debian.org/wsvn/debian-xml-sgml/packages/docbook-xsl-saxon/trunk/debian/control?rev=880&op=diff
==============================================================================
--- packages/docbook-xsl-saxon/trunk/debian/control (original)
+++ packages/docbook-xsl-saxon/trunk/debian/control Mon Sep 10 23:20:43 2007
@@ -3,12 +3,12 @@
Priority: extra
Maintainer: Debian XML/SGML Group <debian-xml-sgml-pkgs at lists.alioth.debian.org>
Uploaders: Daniel Leidert (dale) <daniel.leidert at wgdd.de>
-Build-Depends: debhelper (>= 5), cdbs, ant
+Build-Depends: debhelper (>= 5), cdbs, ant, libsaxon-java (>> 1:6.5)
Standards-Version: 3.7.2
Package: docbook-xsl-saxon
Architecture: any
-Depends: kaffe | java1-runtime | java2-runtime
+Depends: kaffe | java1-runtime | java2-runtime, libsaxon-java (>> 1:6.5)
Conflicts: docbook-xsl (<< 1.68.1.dfsg.1-0.1)
Enhances: docbook-xsl
Description: Java extensions for use with DocBook XML stylesheets (Saxon)
Modified: packages/docbook-xsl-saxon/trunk/debian/rules
URL: http://svn.debian.org/wsvn/debian-xml-sgml/packages/docbook-xsl-saxon/trunk/debian/rules?rev=880&op=diff
==============================================================================
--- packages/docbook-xsl-saxon/trunk/debian/rules (original)
+++ packages/docbook-xsl-saxon/trunk/debian/rules Mon Sep 10 23:20:43 2007
@@ -6,14 +6,28 @@
JAVA_HOME := /usr/lib/kaffe
PACKAGE := docbook-xsl-saxon
-# Add here any variable or target overrides you need.
+version = $(shell dpkg-parsechangelog | sed -n -e 's/^Version: \(.*\)-[^-]*$$/\1/p' )
+uversion = $(shell dpkg-parsechangelog | sed -n -e 's/^Version: \(.*\)\.dfsg.*$$/\1/p' )
+
+DEB_JARS += saxon
+ANT_ARGS += -Dplatform.active=debian \
+ -Dplatforms.debian.home=$(JAVA_HOME) \
+ -Djavac.classpath=$(DEB_CLASSPATH) \
+ -Ddist.jar=$(PACKAGE)_$(uversion).jar
+
+clean::
+ workaround a bug, see sf.net #1792043
+ rm -f $(PACKAGE)_$(uversion).jar
+
+binary-post-install/$(PACKAGE)::
+ echo $(version)
+ dh_install -p$(PACKAGE) $(PACKAGE)_$(uversion).jar usr/share/java
+ dh_link -p$(PACKAGE) $(PACKAGE)_$(uversion).jar usr/share/java/$(PACKAGE).jar
+
# This following code is used to create the .orig.tar.gz tarball.
# Use it to prepare it for a new release.
#
-version=$(shell dpkg-parsechangelog | sed -n -e 's/^Version: \(.*\)-[^-]*$$/\1/p' )
-uversion=$(shell dpkg-parsechangelog | sed -n -e 's/^Version: \(.*\)\.dfsg.*$$/\1/p' )
-
.PHONY: get-orig-source
get-orig-source:
set -ex ; \
More information about the debian-xml-sgml-commit
mailing list