[pkg-java] r11309 - trunk/hbci4java/debian
Fabian Köster
maestro_alubia-guest at alioth.debian.org
Sun Dec 27 17:57:41 UTC 2009
Author: maestro_alubia-guest
Date: 2009-12-27 17:57:40 +0000 (Sun, 27 Dec 2009)
New Revision: 11309
Added:
trunk/hbci4java/debian/libhbci4java-jni.install
trunk/hbci4java/debian/orig-tar.exclude
Modified:
trunk/hbci4java/debian/control
trunk/hbci4java/debian/orig-tar.sh
trunk/hbci4java/debian/rules
Log:
Fixed JNI packaging of hbci4java
Modified: trunk/hbci4java/debian/control
===================================================================
--- trunk/hbci4java/debian/control 2009-12-27 15:19:50 UTC (rev 11308)
+++ trunk/hbci4java/debian/control 2009-12-27 17:57:40 UTC (rev 11309)
@@ -14,16 +14,30 @@
Section: java
Architecture: all
Depends: ${misc:Depends}, default-jre-headless | java2-runtime-headless
+Recommends: libhbci4java-jni
Suggests: java-virtual-machine, libhbci4java-java-doc
Description: A Java Library for HBCI (Homebanking Computer Interface)
- bla blub bla
+ HBCI4Java provides a Java implementation of the HBCI (Homebanking
+ Computer Interface) and FinTS (Financial Transaction Services) protocols.
+Package: libhbci4java-jni
+Architecture: any
+Depends: ${misc:Depends}, ${shlibs:Depends}
+Suggests: libhbci4java-java
+Description: A Java Library for HBCI (Homebanking Computer Interface)
+ HBCI4Java provides a Java implementation of the HBCI (Homebanking
+ Computer Interface) and FinTS (Financial Transaction Services) protocols.
+ .
+ This package includes the architecture specific java native interface part
+ of HBCI4Java.
+
Package: libhbci4java-java-doc
Section: doc
Architecture: all
Depends: ${misc:Depends}
Suggests: libhbci4java-java
Description: API Documentation for libhbci4java-java
- bla blub bla
+ HBCI4Java provides a Java implementation of the HBCI (Homebanking
+ Computer Interface) and FinTS (Financial Transaction Services) protocols.
.
This package provides the Javadoc API for hbci4java
Added: trunk/hbci4java/debian/libhbci4java-jni.install
===================================================================
--- trunk/hbci4java/debian/libhbci4java-jni.install (rev 0)
+++ trunk/hbci4java/debian/libhbci4java-jni.install 2009-12-27 17:57:40 UTC (rev 11309)
@@ -0,0 +1 @@
+dist/lib/libhbci4java-card-linux.so* usr/lib/jni
Added: trunk/hbci4java/debian/orig-tar.exclude
===================================================================
--- trunk/hbci4java/debian/orig-tar.exclude (rev 0)
+++ trunk/hbci4java/debian/orig-tar.exclude 2009-12-27 17:57:40 UTC (rev 11309)
@@ -0,0 +1,6 @@
+*.jar
+*.so
+*.jnilib
+*.dll
+doc/javadoc/*
+chipcard/bin.mac/*
Modified: trunk/hbci4java/debian/orig-tar.sh
===================================================================
--- trunk/hbci4java/debian/orig-tar.sh 2009-12-27 15:19:50 UTC (rev 11308)
+++ trunk/hbci4java/debian/orig-tar.sh 2009-12-27 17:57:40 UTC (rev 11309)
@@ -2,12 +2,14 @@
# called by uscan with '--upstream-version' <version> <file>
DIR=hbci4java-$2-src
+NEW_DIR=hbci4java-${2}
TAR=../hbci4java_$2.orig.tar.gz
# clean up the upstream tarball
unzip $3
-tar -c -z -f $TAR -X debian/orig-tar.exclude $DIR
-rm -rf $DIR $3
+mv ${DIR} ${NEW_DIR}
+tar -c -z -f $TAR -X debian/orig-tar.exclude ${NEW_DIR}
+rm -rf ${DIR} ${NEW_DIR} $3
# move to directory 'tarballs'
if [ -r .svn/deb-layout ]; then
Modified: trunk/hbci4java/debian/rules
===================================================================
--- trunk/hbci4java/debian/rules 2009-12-27 15:19:50 UTC (rev 11308)
+++ trunk/hbci4java/debian/rules 2009-12-27 17:57:40 UTC (rev 11309)
@@ -5,11 +5,12 @@
PACKAGE := $(DEB_SOURCE_PACKAGE)
VERSION := $(DEB_UPSTREAM_VERSION)
-JAVA_HOME := /usr/lib/jvm/default-java
+export JAVA_HOME := /usr/lib/jvm/default-java
DEB_JARS := $(ANT_HOME)/lib/*
-DEB_ANT_BUILD_TARGET := package javadoc
+DEB_ANT_BUILD_TARGET := dist
DEB_ANT_BUILDFILE := build.xml
DEB_ANT_ARGS := -Dpackage=$(PACKAGE) -DartifactId=$(PACKAGE) -Dversion=$(VERSION)
+CXXFLAGS += -I${JAVA_HOME}/include/ -I${JAVA_HOME}/include/linux/
binary-post-install/lib$(PACKAGE)-java::
mh_installpoms -plib$(PACKAGE)-java
@@ -18,3 +19,5 @@
clean::
-rm -rf debian/tmp
+get-orig-source::
+ -uscan
More information about the pkg-java-commits
mailing list