[pkg-java] r6772 - trunk/java-common/debian
doko at alioth.debian.org
doko at alioth.debian.org
Wed Jul 30 13:54:05 UTC 2008
Author: doko
Date: 2008-07-30 13:54:04 +0000 (Wed, 30 Jul 2008)
New Revision: 6772
Modified:
trunk/java-common/debian/changelog
trunk/java-common/debian/rules
Log:
* On alpha, point default-* to openjdk-6.
Modified: trunk/java-common/debian/changelog
===================================================================
--- trunk/java-common/debian/changelog 2008-07-29 21:37:24 UTC (rev 6771)
+++ trunk/java-common/debian/changelog 2008-07-30 13:54:04 UTC (rev 6772)
@@ -1,3 +1,9 @@
+java-common (0.31) UNRELEASED; urgency=low
+
+ * On alpha, point default-* to openjdk-6.
+
+ -- Matthias Klose <doko at debian.org> Wed, 30 Jul 2008 14:41:31 +0200
+
java-common (0.30) unstable; urgency=low
* Fix description generation for default-jre. Closes: #476978.
Modified: trunk/java-common/debian/rules
===================================================================
--- trunk/java-common/debian/rules 2008-07-29 21:37:24 UTC (rev 6771)
+++ trunk/java-common/debian/rules 2008-07-30 13:54:04 UTC (rev 6772)
@@ -25,7 +25,36 @@
dversion = 1.5-$(jrel)
jvmdir = java-gcj
-ifneq (,$(filter $(DEB_HOST_ARCH), alpha arm hppa))
+#ifneq (,$(filter $(DEB_HOST_ARCH), amd64 i386 ia64 lpia sparc))
+ifneq (,$(filter $(DEB_HOST_ARCH), alpha))
+ p_jre = openjdk-6-jre
+ p_jhl = openjdk-6-jre-headless
+ p_jdk = openjdk-6-jdk
+ jdk_build_dep = java-gcj-compat-dev
+ v_jre = $(S)(>= 6b11)
+ v_jdk = $(v_jre)
+ provides = java java2 java5 java6
+ dversion = 1.6-$(jrel)
+ jvmdir = java-6-openjdk
+endif
+
+ifeq (0,1)
+ifneq (,$(filter $(DEB_HOST_ARCH), alpha powerpc))
+ p_jre = cacao-oj6-jre
+ p_hl = cacao-oj6-jre-headless
+ p_jdk = cacao-oj6-jdk
+ ifeq (,$(filter $(DEB_HOST_ARCH), alpha))
+ jdk_build_dep = java-gcj-compat-dev
+ endif
+ v_jre =
+ v_jdk =
+ provides = java java2 java5 java6
+ dversion = 1.6-$(jrel)
+ jvmdir = cacao-6-openjdk
+endif
+endif
+
+ifneq (,$(filter $(DEB_HOST_ARCH), arm hppa))
p_jre =
p_headless =
p_jdk =
@@ -93,7 +122,7 @@
'-Vjre=$(p_jre)' \
'-Vjhl=$(p_jhl)' \
'-Vjdk=$(p_jdk)' \
- '-Vjdk:builddep=$(jdk_builddep)' \
+ '-Vjdk:builddep=$(jdk_build_dep)' \
'-Vjre:arch=$(DEB_HOST_ARCH)' \
'-Vjre:version=$(v_jre)' \
'-Vjdk:version=$(v_jdk)' \
More information about the pkg-java-commits
mailing list