summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPetteri Räty <betelgeuse@gentoo.org>2010-03-20 13:20:40 +0000
committerPetteri Räty <betelgeuse@gentoo.org>2010-03-20 13:20:40 +0000
commit6ff58895b604ed39e6a7498508d4d7373975de23 (patch)
tree3221d5ecd005e7c1a9114eba69cfbee149bf2032 /dev-java/commons-daemon
parentMake Distutils install scripts into /usr/bin (bug #305103). Respect PYTHONPAT... (diff)
downloadgentoo-2-6ff58895b604ed39e6a7498508d4d7373975de23.tar.gz
gentoo-2-6ff58895b604ed39e6a7498508d4d7373975de23.tar.bz2
gentoo-2-6ff58895b604ed39e6a7498508d4d7373975de23.zip
Version bump. Fixes bug #310369.
(Portage version: 2.2_rc65/cvs/Linux i686)
Diffstat (limited to 'dev-java/commons-daemon')
-rw-r--r--dev-java/commons-daemon/ChangeLog10
-rw-r--r--dev-java/commons-daemon/commons-daemon-1.0.2.ebuild55
2 files changed, 63 insertions, 2 deletions
diff --git a/dev-java/commons-daemon/ChangeLog b/dev-java/commons-daemon/ChangeLog
index b3f63b033e7c..8611143b4363 100644
--- a/dev-java/commons-daemon/ChangeLog
+++ b/dev-java/commons-daemon/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for dev-java/commons-daemon
-# Copyright 2000-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-java/commons-daemon/ChangeLog,v 1.34 2008/04/13 22:08:51 betelgeuse Exp $
+# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-java/commons-daemon/ChangeLog,v 1.35 2010/03/20 13:20:40 betelgeuse Exp $
+
+*commons-daemon-1.0.2 (20 Mar 2010)
+
+ 20 Mar 2010; Petteri Räty <betelgeuse@gentoo.org>
+ +commons-daemon-1.0.2.ebuild:
+ Version bump. Fixes bug #310369.
13 Apr 2008; Petteri Räty <betelgeuse@gentoo.org>
-commons-daemon-1.0.1-r1.ebuild:
diff --git a/dev-java/commons-daemon/commons-daemon-1.0.2.ebuild b/dev-java/commons-daemon/commons-daemon-1.0.2.ebuild
new file mode 100644
index 000000000000..7f29f02c65ea
--- /dev/null
+++ b/dev-java/commons-daemon/commons-daemon-1.0.2.ebuild
@@ -0,0 +1,55 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-java/commons-daemon/commons-daemon-1.0.2.ebuild,v 1.1 2010/03/20 13:20:40 betelgeuse Exp $
+
+EAPI="2"
+WANT_AUTOCONF=2.5
+JAVA_PKG_IUSE="doc examples source"
+
+inherit java-pkg-2 java-ant-2 eutils autotools
+
+DESCRIPTION="Tools to allow java programs to run as unix daemons"
+SRC_URI="mirror://apache/commons/daemon/source/${P}-src.tar.gz"
+HOMEPAGE="http://commons.apache.org/daemon/"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~ppc64 ~x86 ~x86-fbsd"
+IUSE=""
+
+DEPEND=">=virtual/jdk-1.4"
+RDEPEND=">=virtual/jre-1.4"
+
+S=${WORKDIR}/${P}-src
+
+java_prepare() {
+ cd "${S}/src/native/unix"
+ sed -e "s/powerpc/powerpc|powerpc64/g" -i support/apsupport.m4
+ eautoconf
+}
+
+src_configure() {
+ java-ant-2_src_configure
+ cd "${S}/src/native/unix"
+ econf || die "configure failed"
+}
+
+src_compile() {
+ # compile native stuff
+ cd "${S}/src/native/unix"
+ emake || die "make failed"
+
+ # compile java stuff
+ cd "${S}"
+ java-pkg-2_src_compile
+}
+
+src_install() {
+ dobin src/native/unix/jsvc || die
+ java-pkg_newjar dist/*.jar
+
+ dodoc README RELEASE-NOTES.txt *.html || die
+ use doc && java-pkg_dohtml -r dist/docs/*
+ use examples && java-pkg_doexamples src/samples
+ use source && java-pkg_dosrc src/java/* src/native/unix/native
+}