[pkg-java] r5108 - trunk/libgdata-java/debian
twerner at alioth.debian.org
twerner at alioth.debian.org
Mon Dec 17 21:12:38 UTC 2007
Author: twerner
Date: 2007-12-17 21:12:38 +0000 (Mon, 17 Dec 2007)
New Revision: 5108
Added:
trunk/libgdata-java/debian/installjars.sh
Modified:
trunk/libgdata-java/debian/
trunk/libgdata-java/debian/ant.properties
trunk/libgdata-java/debian/rules
Log:
the package builds now
Property changes on: trunk/libgdata-java/debian
___________________________________________________________________
Name: mergeWithUpstream
+ 1
Modified: trunk/libgdata-java/debian/ant.properties
===================================================================
--- trunk/libgdata-java/debian/ant.properties 2007-12-17 20:51:32 UTC (rev 5107)
+++ trunk/libgdata-java/debian/ant.properties 2007-12-17 21:12:38 UTC (rev 5108)
@@ -1,4 +1,3 @@
-project.name=tvanytimeapi
-class.dir=build
-source.dir=java
-jar=tvanytimeapi.jar
+activation.jar=/usr/share/java/glassfish-activation.jar
+mail.jar=/usr/share/java/glassfish-mail.jar
+servlet.jar=/usr/share/java/servlet-api.jar
Added: trunk/libgdata-java/debian/installjars.sh
===================================================================
--- trunk/libgdata-java/debian/installjars.sh (rev 0)
+++ trunk/libgdata-java/debian/installjars.sh 2007-12-17 21:12:38 UTC (rev 5108)
@@ -0,0 +1,11 @@
+#!/bin/sh
+
+set -e
+
+for JAR in java/lib/*.jar; do
+ dh_install -plibgdata-java $JAR /usr/share/java/
+ BASENAME=$(basename $JAR .jar)
+ LINK=${BASENAME%-*}
+ dh_link -plibgdata-java \
+ /usr/share/java/$BASENAME.jar /usr/share/java/$LINK.jar
+done
Modified: trunk/libgdata-java/debian/rules
===================================================================
--- trunk/libgdata-java/debian/rules 2007-12-17 20:51:32 UTC (rev 5107)
+++ trunk/libgdata-java/debian/rules 2007-12-17 21:12:38 UTC (rev 5108)
@@ -3,12 +3,11 @@
include /usr/share/cdbs/1/rules/debhelper.mk
include /usr/share/cdbs/1/class/ant.mk
-JAVA_HOME := /usr/lib/jvm/java-gcj
-DEB_ANT_BUILDFILE := debian/build.xml
+JAVA_HOME := /usr/lib/jvm/java-6-sun
+DEB_SRCDIR := java
-install/libtvanytimeapi-java::
- install -m644 -D tvanytimeapi.jar $(DEB_DESTDIR)/usr/share/java/tvanytimeapi-$(DEB_UPSTREAM_VERSION).jar
- dh_link -plibtvanytimeapi-java /usr/share/java/tvanytimeapi-$(DEB_UPSTREAM_VERSION).jar /usr/share/java/tvanytimeapi.jar
+install/libgdata-java::
+ sh debian/installjars.sh
get-orig-source:
-uscan --upstream-version 0 --rename
More information about the pkg-java-commits
mailing list