[pkg-java] r10436 - in trunk: . jamvm jamvm/debian jamvm/debian/lintian jamvm/debian/patches

Michael Koch mkoch at alioth.debian.org
Thu Sep 17 15:36:20 UTC 2009


Author: mkoch
Date: 2009-09-17 15:36:19 +0000 (Thu, 17 Sep 2009)
New Revision: 10436

Added:
   trunk/jamvm/
   trunk/jamvm/debian/
   trunk/jamvm/debian/changelog
   trunk/jamvm/debian/compat
   trunk/jamvm/debian/control
   trunk/jamvm/debian/copyright
   trunk/jamvm/debian/docs
   trunk/jamvm/debian/jamvm.1
   trunk/jamvm/debian/jamvm.install
   trunk/jamvm/debian/jamvm.manpages
   trunk/jamvm/debian/jamvm.postinst
   trunk/jamvm/debian/jamvm.prerm
   trunk/jamvm/debian/lintian/
   trunk/jamvm/debian/lintian/jamvm
   trunk/jamvm/debian/patches/
   trunk/jamvm/debian/patches/debian-jni.patch
   trunk/jamvm/debian/patches/jamvm-kfreebsd-amd64.patch
   trunk/jamvm/debian/rules
   trunk/jamvm/debian/watch
Log:
initial commit

Added: trunk/jamvm/debian/changelog
===================================================================
--- trunk/jamvm/debian/changelog	                        (rev 0)
+++ trunk/jamvm/debian/changelog	2009-09-17 15:36:19 UTC (rev 10436)
@@ -0,0 +1,241 @@
+jamvm (1.5.3-2) unstable; urgency=low
+
+  * Build-Depends on default-jdk.
+  * Moved package under pkg-java maintenance.
+  * Build-Depends on debhelper >= 7.
+  * Updated Standards-Version to 3.8.3.
+
+ -- Michael Koch <konqueror at gmx.de>  Thu, 17 Sep 2009 17:27:54 +0200
+
+jamvm (1.5.3-1) unstable; urgency=low
+
+  * New upstream release.
+  * Build-Depends on gcj-4.3, instead of kaffe (Closes: #528052).
+  * Updated Standards-Version to 3.8.2.
+  * Update to debhelper level 5.
+  * Fix watch file.
+
+ -- Michael Koch <konqueror at gmx.de>  Sun, 02 Aug 2009 23:14:12 +0200
+
+jamvm (1.5.1-3) unstable; urgency=low
+
+  * Build-Depends on libffi-dev instead of libffi4-dev. Closes: #479720
+
+ -- Michael Koch <konqueror at gmx.de>  Tue, 06 May 2008 10:18:03 -0100
+
+jamvm (1.5.1-2) unstable; urgency=low
+
+  * (Build-)Depends on classpath >= 0.97. Thanks to Sylvain Beucler.
+    Closes: #474470
+
+ -- Michael Koch <konqueror at gmx.de>  Wed, 09 Apr 2008 22:42:24 +0200
+
+jamvm (1.5.1-1) unstable; urgency=low
+
+  * New upstream release.
+  * Reworked debian/copyright.
+  * Updated debian/watch file to use SourceForge handler.
+
+ -- Michael Koch <konqueror at gmx.de>  Thu, 20 Mar 2008 20:41:09 +0100
+
+jamvm (1.5.0-2) unstable; urgency=low
+
+  * Make package Architecture: any and let the buildds decide to build it or
+    not. Closes: #434846
+
+ -- Michael Koch <konqueror at gmx.de>  Tue, 29 Jan 2008 22:56:03 +0100
+
+jamvm (1.5.0-1) unstable; urgency=low
+
+  * New upstream release.
+  * Added Homepage field.
+  * Updated Standards-Version to 3.7.3.
+
+ -- Michael Koch <konqueror at gmx.de>  Thu, 24 Jan 2008 09:22:18 +0100
+
+jamvm (1.4.5-3) unstable; urgency=low
+
+  * Upload to unstable.
+
+ -- Michael Koch <konqueror at gmx.de>  Wed, 27 Jun 2007 07:27:21 +0200
+
+jamvm (1.4.5-2) experimental; urgency=low
+
+  * Activated mipsel port.
+  * Don't call dh_makeshlibs on /usr/lib/jamvm.
+
+ -- Michael Koch <konqueror at gmx.de>  Mon, 26 Feb 2007 10:17:39 +0100
+
+jamvm (1.4.5-1) experimental; urgency=low
+
+  * New upstream release.
+  * Upload to experimental.
+
+ -- Michael Koch <konqueror at gmx.de>  Sat, 10 Feb 2007 14:18:29 +0100
+
+jamvm (1.4.4-2) unstable; urgency=low
+
+  * Added patch to support kfreebsd-amd64. Patch by Petr Salinger.
+    (Closes: #407156)
+  * Updated Build-Depends on debhelper to (>= 4.1.0).
+
+ -- Michael Koch <konqueror at gmx.de>  Tue, 16 Jan 2007 16:15:58 +0100
+
+jamvm (1.4.4-1) unstable; urgency=low
+
+  * New upstream release
+
+ -- Michael Koch <konqueror at gmx.de>  Sun,  5 Nov 2006 15:49:17 +0100
+
+jamvm (1.4.3-1) unstable; urgency=low
+
+  * New upstream release.
+  * debian/control: Added kfreebsd-amd64 to arch list (Closes: #361622).
+  * debian/control: Updated dependencies on classpath.
+  * debian/control: Updated Standards-Version to 3.7.2.
+
+ -- Michael Koch <konqueror at gmx.de>  Mon, 22 May 2006 09:53:20 +0000
+
+jamvm (1.4.2-1) unstable; urgency=low
+
+  * New upstream release
+
+ -- Michael Koch <konqueror at gmx.de>  Mon, 23 Jan 2006 07:14:12 +0000
+
+jamvm (1.4.1-2) unstable; urgency=low
+
+  * Updated debian/patches/debian-jni.patch to set LD_LIBRARY_PATH and not
+    LTDL_LIBRARY_PATH as jamvm no uses the former. Thanks to Rene Wagner. 
+
+ -- Michael Koch <konqueror at gmx.de>  Sun, 15 Jan 2006 17:40:48 +0000
+
+jamvm (1.4.1-1) unstable; urgency=low
+
+  * New upstream release
+    - Removed debian/patches/jamvm-1.3.3-powerpc.patch. Applied upstream.
+  * Enabled build for kfreebsd-i386 (Closes: #336954).
+
+ -- Michael Koch <konqueror at gmx.de>  Thu, 29 Dec 2005 15:48:27 +0000
+
+jamvm (1.3.3-2) unstable; urgency=low
+
+  * Build-Depends on libffi4-dev for amd64 (closes: #328416).
+  * Added debian/patches/jamvm-1.3.3-powerpc.patch to fix.
+    build failure on powerpc.
+
+ -- Michael Koch <konqueror at gmx.de>  Sat, 17 Sep 2005 07:15:25 +0000
+
+jamvm (1.3.3-1) unstable; urgency=low
+
+  * New upstream release
+    - added amd64 architecture
+    - removed debian/patches/jamvm-classpath-0.18.patch
+  * Fixed watch file
+  * Upload sponsored by Petter Reinholdtsen.
+
+ -- Michael Koch <konqueror at gmx.de>  Tue, 13 Sep 2005 22:33:53 +0000
+
+jamvm (1.3.2-2) unstable; urgency=low
+
+  * Added debian/patches/jamvm-classpath-0.18.patch to work with
+    GNU classpath 0.18 and higher. Thanks to Mark Wielaard.
+  * Build-Depends and Depends on classpath >= 2:0.18.
+  * Upload sponsored by Petter Reinholdtsen.
+
+ -- Michael Koch <konqueror at gmx.de>  Tue,  6 Sep 2005 14:46:58 +0000
+
+jamvm (1.3.2-1) unstable; urgency=low
+
+  * New upstream release
+  * (Build)-Depends on classpath 0.17 or higher
+  * Updated Standards-Version to 3.6.2
+  * Fixed address of FSF in debian/copyright
+
+ -- Michael Koch <konqueror at gmx.de>  Tue, 30 Aug 2005 08:05:51 +0000
+
+jamvm (1.3.0-1) unstable; urgency=low
+
+  * New upstream release
+
+ -- Michael Koch <konqueror at gmx.de>  Sat,  2 Apr 2005 12:07:01 +0000
+
+jamvm (1.2.5-1) unstable; urgency=low
+
+  * New upstream release
+  * Removed patches applied upstream:
+    - debian/patches/jni.patch
+    - debian/patches/shutdown-hooks.patch
+  * Updated classpath Depends to use >= 2:0.14
+
+ -- Michael Koch <konqueror at gmx.de>  Wed,  2 Mar 2005 11:58:49 +0000
+
+jamvm (1.2.3-3) unstable; urgency=low
+
+  * Added zip dependency to Build-Depends
+  * Added myself as an uploader with acknowledgment of Michael Koch
+
+ -- Arnaud Vandyck <avdyk at debian.org>  Wed, 12 Jan 2005 10:08:50 +0100
+
+jamvm (1.2.3-2) unstable; urgency=low
+
+  * Added jikes and classpath-common to Build-Depends
+  * Added patch to fix invocation of virtual methods from JNI
+
+ -- Michael Koch <konqueror at gmx.de>  Mon, 10 Jan 2005 12:07:16 +0000
+
+jamvm (1.2.3-1) unstable; urgency=low
+
+  * New upstream release
+  * Depend on GNU classpath 0.13 or newer 
+
+ -- Michael Koch <konqueror at gmx.de>  Sat,  8 Jan 2005 18:37:15 +0000
+
+jamvm (1.2.0-3) unstable; urgency=low
+
+  * Added hurd-i386 to Architecture field in debian/control
+
+ -- Michael Koch <konqueror at gmx.de>  Mon, 22 Nov 2004 13:47:40 +0000
+
+jamvm (1.2.0-2) unstable; urgency=low
+
+  * Build-Depend on zlib1g-dev
+
+ -- Michael Koch <konqueror at gmx.de>  Fri, 10 Sep 2004 07:32:30 +0000
+
+jamvm (1.2.0-1) unstable; urgency=low
+
+  * New upstream release
+  * debian/watch: New file
+  * debian/patches/debian-jni.patch: Updated
+  * Depend on classpath-common instead of classpath-common-unzipped
+  * Depend on classpath >= 0.10 tha have working GNU EmbeddedWindow extension
+
+ -- Michael Koch <konqueror at gmx.de>  Thu,  9 Sep 2004 15:59:06 +0000
+
+jamvm (1.1.4-4) unstable; urgency=low
+
+  * According to debian-java discussion, jamvm does not provide
+    java2-runtime.
+
+ -- Michael Koch <konqueror at gmx.de>  Tue, 27 Jul 2004 22:47:52 +0200
+
+jamvm (1.1.4-3) unstable; urgency=low
+
+  * Fixed java alternative (Closes 259394)
+    Thanks to Roland Mas for reporting again
+
+ -- Michael Koch <konqueror at gmx.de>  Thu, 15 Jul 2004 20:25:04 +0200
+
+jamvm (1.1.4-2) unstable; urgency=low
+
+  * Fixed typo in jamvm manpage
+  * Added java alternative for jamvm (Closes: #259394)
+
+ -- Michael Koch <konqueror at gmx.de>  Thu, 15 Jul 2004 12:29:05 +0200
+
+jamvm (1.1.4-1) unstable; urgency=low
+
+  * Initial Release (Closes: #249623)
+
+ -- Michael Koch <konqueror at gmx.de>  Wed, 30 Jun 2004 10:21:16 +0200
+

Added: trunk/jamvm/debian/compat
===================================================================
--- trunk/jamvm/debian/compat	                        (rev 0)
+++ trunk/jamvm/debian/compat	2009-09-17 15:36:19 UTC (rev 10436)
@@ -0,0 +1 @@
+7

Added: trunk/jamvm/debian/control
===================================================================
--- trunk/jamvm/debian/control	                        (rev 0)
+++ trunk/jamvm/debian/control	2009-09-17 15:36:19 UTC (rev 10436)
@@ -0,0 +1,21 @@
+Source: jamvm
+Section: interpreters
+Priority: optional
+Maintainer: Debian Java Maintainers <pkg-java-maintainers at lists.alioth.debian.org>
+Uploaders: Arnaud Vandyck <avdyk at debian.org>, Michael Koch <konqueror at gmx.de>
+Build-Depends: debhelper (>= 7), cdbs, zlib1g-dev, default-jdk, zip, classpath-common (>= 2:0.97), libffi-dev [amd64 kfreebsd-amd64]
+Standards-Version: 3.8.3
+Homepage: http://jamvm.sourceforge.net/
+
+Package: jamvm
+Architecture: any
+Depends: ${shlibs:Depends}, ${misc:Depends}, java-common, classpath (>= 2:0.97), classpath-common (>= 2:0.97)
+Provides: java-virtual-machine, java1-runtime
+Description: virtual machine which conforms to JVM specification 2
+ JamVM is a new Java Virtual Machine which conforms to the JVM
+ specification version 2 (blue book).  In comparison to most other
+ VM's (free and commercial) it is extremely small, with a stripped
+ executable on PowerPC of only ~110K, and Intel 80K.  However, unlike
+ other small VMs (e.g. KVM) it is designed to support the full
+ specification, and includes support for object finalisation, the
+ Java Native Interface (JNI) and the Reflection API.

Added: trunk/jamvm/debian/copyright
===================================================================
--- trunk/jamvm/debian/copyright	                        (rev 0)
+++ trunk/jamvm/debian/copyright	2009-09-17 15:36:19 UTC (rev 10436)
@@ -0,0 +1,27 @@
+This package was debianized by Michael Koch <konqueror at gmx.de> on
+Tue, 18 May 2004 18:16:40 +0200.
+
+It was downloaded from http://jamvm.sourceforge.net/
+
+Upstream Authors: Robert Lougher <robert.lougher at gmail.com>
+
+Copyright: (c) 2004-2009 Robert Lougher
+
+License:
+
+    This program is free software; you can redistribute it and/or modify
+    it under the terms of the GNU General Public License as published by
+    the Free Software Foundation; either version 2 of the License, or
+    (at your option) any later version.
+
+    This program is distributed in the hope that it will be useful,
+    but WITHOUT ANY WARRANTY; without even the implied warranty of
+    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+    GNU General Public License for more details.
+
+    You should have received a copy of the GNU General Public License
+    along with this program; if not, write to the Free Software
+    Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301 USA
+
+On Debian systems, the complete text of the GNU General
+Public License can be found in `/usr/share/common-licenses/GPL'.

Added: trunk/jamvm/debian/docs
===================================================================
--- trunk/jamvm/debian/docs	                        (rev 0)
+++ trunk/jamvm/debian/docs	2009-09-17 15:36:19 UTC (rev 10436)
@@ -0,0 +1,2 @@
+NEWS
+README

Added: trunk/jamvm/debian/jamvm.1
===================================================================
--- trunk/jamvm/debian/jamvm.1	                        (rev 0)
+++ trunk/jamvm/debian/jamvm.1	2009-09-17 15:36:19 UTC (rev 10436)
@@ -0,0 +1,49 @@
+.TH JamVM 1
+.SH NAME
+JamVM \- a Java Virtual Machines
+.SH SYNOPSIS
+.B jamvm [options] class [arg1 arg2 ...]
+.SH OPTIONS
+.IP "\fB-help\fP        " 10
+print out this message
+.IP "\fB-version\fP        " 10
+print out version number and copyright information
+.IP "\fB-cp -classpath\fP        " 10
+<jar/zip files and directories separated by :>
+locations where to find application classes
+.IP "\fB-bootclasspath\fP        " 10
+<directories separated by :>
+locations where to find the system classes
+.IP "\fB-bootclasspath/a\fP        " 10
+<directories separated by :>
+locations are appended to the bootstrap class path
+.IP "\fB-bootclasspath/p\fP        " 10
+<directories separated by :>
+locations are prepended to the bootstrap class path
+.IP "\fB-verbose\fP        " 10
+print out information about class loading, etc.
+.IP "\fB-verbosegc\fP        " 10
+print out results of garbage collection
+.IP "\fB-noasyncgc\fP        " 10
+turn off asynchronous garbage collection
+.IP "\fB-D<name>=<value>\fP        " 10
+set a system property
+.IP "\fB-ms<size>\fP        " 10
+set the initial size of the heap (default = 1024K)
+.IP "\fB-mx<size>\fP        " 10
+set the maximum size of the heap (default = 16M)
+.IP "\fB-ss\fP        " 10
+set the Java stack size for each thread (default = 64K)
+size may be followed by K,k or M,m (e.g. 2M)
+.SH "DESCRIPTION"
+.BR JamVM
+is a new Java Virtual Machine which conforms to the JVM
+specification version 2 (blue book).  In comparison to most other
+VM's (free and commercial) it is extremely small, with a stripped
+executable on PowerPC of only ~110K, and Intel 80K.  However, unlike
+other small VMs (e.g. KVM) it is designed to support the full
+specification, and includes support for object finalisation, the
+Java Native Interface (JNI) and the Reflection API.
+.SH AUTHOR
+This manual page was written by Michael Koch <konqueror at gmx.de>,
+for the Debian GNU/Linux system (but may be used by others).

Added: trunk/jamvm/debian/jamvm.install
===================================================================
--- trunk/jamvm/debian/jamvm.install	                        (rev 0)
+++ trunk/jamvm/debian/jamvm.install	2009-09-17 15:36:19 UTC (rev 10436)
@@ -0,0 +1,6 @@
+usr/bin/jamvm
+usr/lib/jamvm/libjvm.*
+usr/lib/jamvm/rt.jar
+usr/share/jamvm/classes.zip
+
+../lintian/jamvm /usr/share/lintian/overrides

Added: trunk/jamvm/debian/jamvm.manpages
===================================================================
--- trunk/jamvm/debian/jamvm.manpages	                        (rev 0)
+++ trunk/jamvm/debian/jamvm.manpages	2009-09-17 15:36:19 UTC (rev 10436)
@@ -0,0 +1 @@
+debian/jamvm.1

Added: trunk/jamvm/debian/jamvm.postinst
===================================================================
--- trunk/jamvm/debian/jamvm.postinst	                        (rev 0)
+++ trunk/jamvm/debian/jamvm.postinst	2009-09-17 15:36:19 UTC (rev 10436)
@@ -0,0 +1,13 @@
+#!/bin/sh -e
+
+case "$1" in
+  configure)
+    update-alternatives \
+      --install /usr/bin/java java /usr/bin/jamvm 10 \
+      --slave /usr/share/man/man1/java.1.gz java.1.gz \
+              /usr/share/man/man1/jamvm.1.gz
+    ;;
+esac
+ 
+#DEBHELPER#
+

Added: trunk/jamvm/debian/jamvm.prerm
===================================================================
--- trunk/jamvm/debian/jamvm.prerm	                        (rev 0)
+++ trunk/jamvm/debian/jamvm.prerm	2009-09-17 15:36:19 UTC (rev 10436)
@@ -0,0 +1,9 @@
+#!/bin/sh -e
+
+case "$1" in
+  upgrade | remove)
+    update-alternatives --remove javac /usr/bin/jamvm
+   ;;
+esac
+
+#DEBHELPER#

Added: trunk/jamvm/debian/lintian/jamvm
===================================================================
--- trunk/jamvm/debian/lintian/jamvm	                        (rev 0)
+++ trunk/jamvm/debian/lintian/jamvm	2009-09-17 15:36:19 UTC (rev 10436)
@@ -0,0 +1,2 @@
+jamvm: compressed-symlink-with-wrong-ext usr/lib/jamvm/rt.jar ../../share/classpath/glibj.zip
+jamvm: shlib-with-executable-stack usr/lib/jamvm/libjvm.so.0.0.0

Added: trunk/jamvm/debian/patches/debian-jni.patch
===================================================================
--- trunk/jamvm/debian/patches/debian-jni.patch	                        (rev 0)
+++ trunk/jamvm/debian/patches/debian-jni.patch	2009-09-17 15:36:19 UTC (rev 10436)
@@ -0,0 +1,19 @@
+--- src/dll.c.orig	2004-09-09 15:48:45.000000000 +0000
++++ src/dll.c	2004-09-09 15:50:32.000000000 +0000
+@@ -189,6 +189,16 @@
+ #ifndef NO_JNI
+     /* Init hash table, and create lock */
+     initHashTable(hash_table, HASHTABSZE, TRUE);
++
++    /* XXX: Add Debian JNI directory.  */
++    char* path = getenv("LD_LIBRARY_PATH");
++
++    if (path != NULL)
++      path = strcat(path, ":/usr/lib/jni");
++    else
++      path = "/usr/lib/jni";
++    
++    setenv("LD_LIBRARY_PATH", path, 1);
+ #endif
+ }
+ 

Added: trunk/jamvm/debian/patches/jamvm-kfreebsd-amd64.patch
===================================================================
--- trunk/jamvm/debian/patches/jamvm-kfreebsd-amd64.patch	                        (rev 0)
+++ trunk/jamvm/debian/patches/jamvm-kfreebsd-amd64.patch	2009-09-17 15:36:19 UTC (rev 10436)
@@ -0,0 +1,47 @@
+--- configure.ac.orig	2007-01-16 13:48:52.000000000 +0100
++++ configure.ac	2007-01-16 13:48:52.000000000 +0100
+@@ -12,6 +12,7 @@
+ i386-*-openbsd*) host_os=bsd libdl_needed=no ;;
+ i386-*-freebsd*) host_os=bsd libdl_needed=no ;;
+ x86_64-*-linux*) host_os=linux ;;
++x86_64-*-kfreebsd*) host_os=linux ;;
+ hppa*-*-linux*) host_cpu=parisc host_os=linux ;;
+ amd64-*-openbsd*) host_os=bsd libdl_needed=no ;;
+ amd64-*-freebsd*) host_os=bsd libdl_needed=no ;;
+--- configure.orig	2007-01-16 13:49:15.000000000 +0100
++++ configure		2007-01-16 13:49:16.000000000 +0100
+@@ -2029,6 +2029,7 @@
+ i386-*-openbsd*) host_os=bsd libdl_needed=no ;;
+ i386-*-freebsd*) host_os=bsd libdl_needed=no ;;
+ x86_64-*-linux*) host_os=linux ;;
++x86_64-*-kfreebsd*) host_os=linux ;;
+ hppa*-*-linux*) host_cpu=parisc host_os=linux ;;
+ amd64-*-openbsd*) host_os=bsd libdl_needed=no ;;
+ amd64-*-freebsd*) host_os=bsd libdl_needed=no ;;
+--- src/os/linux/x86_64/init.c.orig	2007-01-16 15:08:00.000000000 +0100
++++ src/os/linux/x86_64/init.c		2007-01-16 15:08:00.000000000 +0100
+@@ -18,9 +18,7 @@
+  * Foundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
+  */
+ 
+-#ifdef __linux__
+ #include <fpu_control.h>
+-#endif
+ 
+ /* Change the x87 FPU precision to double (64-bit) from the extended
+    (80-bit) Linux default.  Note, unlike on i386, my testcases pass
+@@ -29,14 +27,12 @@
+ */
+ 
+ void setDoublePrecision() {
+-#ifdef __linux__
+     fpu_control_t cw;
+ 
+     _FPU_GETCW(cw);
+     cw &= ~_FPU_EXTENDED;
+     cw |= _FPU_DOUBLE;
+     _FPU_SETCW(cw);
+-#endif
+ }
+ 
+ void initialisePlatform() {

Added: trunk/jamvm/debian/rules
===================================================================
--- trunk/jamvm/debian/rules	                        (rev 0)
+++ trunk/jamvm/debian/rules	2009-09-17 15:36:19 UTC (rev 10436)
@@ -0,0 +1,35 @@
+#!/usr/bin/make -f
+# -*- mode: makefile; coding: utf-8 -*-
+# Copyright © 2004 Michael Koch <konqueror at gmx.de>
+
+DEB_BUILD_GNU_TYPE = $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
+DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
+
+# i386 is not supported
+ifneq (,$(findstring $(DEB_BUILD_GNU_CPU),i386))
+DEB_BUILD_GNU_TYPE=i486-gnu-linux
+endif
+ifneq (,$(findstring $(DEB_HOST_GNU_CPU),i386))
+DEB_HOST_GNU_TYPE=i486-gnu-linux
+endif
+
+include /usr/share/cdbs/1/rules/simple-patchsys.mk
+include /usr/share/cdbs/1/rules/debhelper.mk
+include /usr/share/cdbs/1/class/autotools.mk
+
+# Clean classes.zip.
+clean::
+	rm -f $(CURDIR)/lib/classes.zip
+
+# We dont wanna provide jni.h.
+install/jamvm::
+	rm -f $(CURDIR)/debian/tmp/usr/include/jni.h
+
+DEB_CONFIGURE_EXTRA_FLAGS := \
+	--libdir=/usr/lib/jamvm \
+	--with-classpath-install-dir=/usr
+
+DEB_DESTDIR := "$(CURDIR)/debian/tmp"
+DEB_DH_INSTALL_ARGS := --sourcedir=debian/tmp --fail-missing
+DEB_DH_MAKESHLIBS_ARGS := --exclude=/usr/lib/jamvm
+


Property changes on: trunk/jamvm/debian/rules
___________________________________________________________________
Added: svn:executable
   + *

Added: trunk/jamvm/debian/watch
===================================================================
--- trunk/jamvm/debian/watch	                        (rev 0)
+++ trunk/jamvm/debian/watch	2009-09-17 15:36:19 UTC (rev 10436)
@@ -0,0 +1,2 @@
+version=3
+http://sf.net/jamvm/jamvm-([\d\.]*)\.tar\.gz debian uupdate




More information about the pkg-java-commits mailing list