Commit 2b41883a authored by Daryl Herzmann's avatar Daryl Herzmann Committed by akrherz

Support OpenJDK for Debian build, OF-543


git-svn-id: http://svn.igniterealtime.org/svn/repos/openfire/trunk@13060 b35dd754-fafc-0310-a699-88a17e54d16e
parent 5d0abf5b
...@@ -2,14 +2,14 @@ Source: openfire ...@@ -2,14 +2,14 @@ Source: openfire
Section: net Section: net
Priority: optional Priority: optional
Maintainer: Ignite Realtime Community <admin@igniterealtime.org> Maintainer: Ignite Realtime Community <admin@igniterealtime.org>
Build-Depends: debhelper (>= 5), cdbs, patchutils, sun-java5-jdk, ant Build-Depends: debhelper (>= 5), cdbs, patchutils, sun-java6-jdk | openjdk-6-jdk, ant
Standards-Version: 3.7.2 Standards-Version: 3.7.2
Homepage: http://www.igniterealtime.org Homepage: http://www.igniterealtime.org
Package: openfire Package: openfire
Section: net Section: net
Priority: optional Priority: optional
Pre-Depends: sun-java5-jre | sun-java6-jre | default-jre-headless Pre-Depends: sun-java5-jre | sun-java6-jre | default-jre-headless | openjdk-6-jre
Architecture: all Architecture: all
Description: A high performance XMPP (Jabber) server. Description: A high performance XMPP (Jabber) server.
Openfire is an instant messaging server that implements the XMPP Openfire is an instant messaging server that implements the XMPP
......
...@@ -13,10 +13,10 @@ ETCDIR := $(DEST)/etc/openfire ...@@ -13,10 +13,10 @@ ETCDIR := $(DEST)/etc/openfire
LOGDIR := $(DEST)/var/log/openfire LOGDIR := $(DEST)/var/log/openfire
VARDIR := $(DEST)/var/lib/openfire VARDIR := $(DEST)/var/lib/openfire
JAVA_HOME := /usr/lib/jvm/java-1.5.0-sun JAVA_HOME ?= /usr/lib/jvm/java-6-sun
DEB_ANT_BUILDFILE := build/build.xml DEB_ANT_BUILDFILE := build/build.xml
DEB_ANT_CLEAN_TARGET := clean DEB_ANT_CLEAN_TARGET := clean
install/openfire:: install/openfire::
cp $(TARGET)/lib/*.jar $(OPENFIRE)/lib/ cp $(TARGET)/lib/*.jar $(OPENFIRE)/lib/
cp $(TARGET)/lib/log4j.xml $(ETCDIR) cp $(TARGET)/lib/log4j.xml $(ETCDIR)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment