[pkg-java] r15944 - in trunk/pirl/debian: . patches
Mathieu Malaterre
malat at alioth.debian.org
Fri Apr 13 09:21:47 UTC 2012
Author: malat
Date: 2012-04-13 09:21:46 +0000 (Fri, 13 Apr 2012)
New Revision: 15944
Added:
trunk/pirl/debian/orig-tar.sh
Modified:
trunk/pirl/debian/javabuild
trunk/pirl/debian/patches/series
trunk/pirl/debian/rules
trunk/pirl/debian/watch
Log:
redo packaging
Modified: trunk/pirl/debian/javabuild
===================================================================
--- trunk/pirl/debian/javabuild 2012-04-13 08:49:56 UTC (rev 15943)
+++ trunk/pirl/debian/javabuild 2012-04-13 09:21:46 UTC (rev 15944)
@@ -1 +1 @@
-pirl.jar *.java edu
+pirl.jar PIRL
Added: trunk/pirl/debian/orig-tar.sh
===================================================================
--- trunk/pirl/debian/orig-tar.sh (rev 0)
+++ trunk/pirl/debian/orig-tar.sh 2012-04-13 09:21:46 UTC (rev 15944)
@@ -0,0 +1,20 @@
+#!/bin/sh -e
+
+# called by uscan with '--upstream-version' <version> <file>
+TAR=pirl_$2.orig.tar.gz
+DIR=pirl-$2
+
+# clean up the upstream tarball
+tar -zxf $3
+mv PIRL-* PIRL
+mkdir $DIR
+mv PIRL $DIR
+tar -czf $TAR $DIR
+rm -rf $DIR $3
+
+# move to directory 'tarballs'
+if [ -r .svn/deb-layout ]; then
+ . .svn/deb-layout
+ mv $TAR $origDir
+ echo "moved $TAR to $origDir"
+fi
Property changes on: trunk/pirl/debian/orig-tar.sh
___________________________________________________________________
Added: svn:executable
+ *
Modified: trunk/pirl/debian/patches/series
===================================================================
--- trunk/pirl/debian/patches/series 2012-04-13 08:49:56 UTC (rev 15943)
+++ trunk/pirl/debian/patches/series 2012-04-13 09:21:46 UTC (rev 15944)
@@ -1 +0,0 @@
-fixjcmloc.patch
Modified: trunk/pirl/debian/rules
===================================================================
--- trunk/pirl/debian/rules 2012-04-13 08:49:56 UTC (rev 15943)
+++ trunk/pirl/debian/rules 2012-04-13 09:21:46 UTC (rev 15944)
@@ -1,18 +1,14 @@
#!/usr/bin/make -f
export JAVA_HOME=/usr/lib/jvm/default-java
-#export CLASSPATH=/usr/share/java/jcm.jar
+export CLASSPATH=/usr/share/java/jcm.jar:/usr/share/java/gnumail.jar:/usr/share/java/swingx1.jar:/usr/share/java/commons-cli.jar
%:
- dh $@ --with javahelper --sourcedirectory=Build
+ dh $@ --with javahelper
-override_dh_auto_configure:
- (cd .. && ln -sf PIRL-* PIRL)
- dh_auto_configure
+override_dh_autoconfigure:
+ rm PIRL/Conductor/Notify-simple.java
+ dh_autoconfigure
-override_dh_auto_clean:
- find . -name *.class -delete
- find . -name *.so -delete
-
get-orig-source:
uscan --verbose --force-download --rename
Modified: trunk/pirl/debian/watch
===================================================================
--- trunk/pirl/debian/watch 2012-04-13 08:49:56 UTC (rev 15943)
+++ trunk/pirl/debian/watch 2012-04-13 09:21:46 UTC (rev 15944)
@@ -1,2 +1,3 @@
version=3
-ftp://pirlftp.lpl.arizona.edu/pub/Java/PIRL-([\d\.]+).tar.gz
+ftp://pirlftp.lpl.arizona.edu/pub/Java/PIRL-([\d\.]+).tar.gz \
+debian debian/orig-tar.sh
More information about the pkg-java-commits
mailing list