[med-svn] r7241 - trunk/packages/biomaj/trunk/debian

olivier sallou osallou-guest at alioth.debian.org
Mon Jul 11 07:05:35 UTC 2011


Author: osallou-guest
Date: 2011-07-11 07:05:34 +0000 (Mon, 11 Jul 2011)
New Revision: 7241

Modified:
   trunk/packages/biomaj/trunk/debian/rules
Log:
changes rules to remove openjdk dependency

Modified: trunk/packages/biomaj/trunk/debian/rules
===================================================================
--- trunk/packages/biomaj/trunk/debian/rules	2011-07-11 06:58:12 UTC (rev 7240)
+++ trunk/packages/biomaj/trunk/debian/rules	2011-07-11 07:05:34 UTC (rev 7241)
@@ -10,7 +10,7 @@
 export DH_OPTIONS
 
 export ANT_HOME=/usr/share/ant
-export JAVA_HOME=/usr/lib/jvm/java-6-openjdk/
+#export JAVA_HOME=/usr/lib/jvm/java-6-openjdk/
 
 %:
 	dh $@ --with javahelper
@@ -20,6 +20,7 @@
 	cp usr/share/biomaj/lib/vendor/commons-cli2-build/dist/commons-cli-2.0-SNAPSHOT.jar usr/share/biomaj/lib/
 	ant -f usr/share/biomaj/lib/vendor/commons-cli2.xml clean
 	ant -f usr/share/biomaj/build.xml
+	javac -d usr/share/biomaj/bin usr/share/biomaj/bin/Configurator.java
 
 override_dh_clean:
 	dh_clean
@@ -28,6 +29,7 @@
 	rm -rf usr/share/biomaj/build
 	rm -rf usr/share/biomaj/dist
 	rm -f usr/share/biomaj/lib/biomaj.jar
+	rm -f usr/share/biomaj/bin/*.class
 
 override_dh_install:
 	# dh_install




More information about the debian-med-commit mailing list