summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiroslav Šulc <fordfrog@gentoo.org>2012-02-22 17:27:22 +0000
committerMiroslav Šulc <fordfrog@gentoo.org>2012-02-22 17:27:22 +0000
commitf6d259beac8f4e74f0fbd35bc735af5369c7fb45 (patch)
tree739edb98e14907043456009262cb3bf5cd7a2718 /dev-java/commons-daemon
parentBug #405299: Require python2 in dependencies. (diff)
downloadgentoo-2-f6d259beac8f4e74f0fbd35bc735af5369c7fb45.tar.gz
gentoo-2-f6d259beac8f4e74f0fbd35bc735af5369c7fb45.tar.bz2
gentoo-2-f6d259beac8f4e74f0fbd35bc735af5369c7fb45.zip
dev-java/commons-daemon: version bump
(Portage version: 2.1.10.48/cvs/Linux x86_64)
Diffstat (limited to 'dev-java/commons-daemon')
-rw-r--r--dev-java/commons-daemon/ChangeLog8
-rw-r--r--dev-java/commons-daemon/commons-daemon-1.0.9.ebuild56
2 files changed, 63 insertions, 1 deletions
diff --git a/dev-java/commons-daemon/ChangeLog b/dev-java/commons-daemon/ChangeLog
index 28a559734898..fbb6d81f386f 100644
--- a/dev-java/commons-daemon/ChangeLog
+++ b/dev-java/commons-daemon/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for dev-java/commons-daemon
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-java/commons-daemon/ChangeLog,v 1.50 2012/02/16 18:13:24 phajdan.jr Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-java/commons-daemon/ChangeLog,v 1.51 2012/02/22 17:27:22 fordfrog Exp $
+
+*commons-daemon-1.0.9 (22 Feb 2012)
+
+ 22 Feb 2012; Miroslav Šulc <fordfrog@gentoo.org>
+ +commons-daemon-1.0.9.ebuild:
+ Version bump
16 Feb 2012; Pawel Hajdan jr <phajdan.jr@gentoo.org>
commons-daemon-1.0.7.ebuild:
diff --git a/dev-java/commons-daemon/commons-daemon-1.0.9.ebuild b/dev-java/commons-daemon/commons-daemon-1.0.9.ebuild
new file mode 100644
index 000000000000..b54c076af2c0
--- /dev/null
+++ b/dev-java/commons-daemon/commons-daemon-1.0.9.ebuild
@@ -0,0 +1,56 @@
+# Copyright 1999-2012 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.9.ebuild,v 1.1 2012/02/22 17:27:22 fordfrog Exp $
+
+EAPI="4"
+
+WANT_AUTOCONF=2.5
+JAVA_PKG_IUSE="doc examples source"
+
+inherit eutils autotools java-pkg-2 java-ant-2
+
+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="kernel_linux"
+
+COMMON_DEP="
+ kernel_linux? ( sys-libs/libcap )"
+DEPEND="${COMMON_DEP}
+ >=virtual/jdk-1.4"
+RDEPEND="${COMMON_DEP}
+ >=virtual/jre-1.4"
+
+S="${WORKDIR}/${P}-src"
+
+java_prepare() {
+ cd "${S}/src/native/unix" || die
+ sed -i "s/powerpc/powerpc|powerpc64/g" support/apsupport.m4 || die
+ eautoconf
+}
+
+src_configure() {
+ java-ant-2_src_configure
+ cd "${S}/src/native/unix" || die
+ default
+}
+
+src_compile() {
+ java-pkg-2_src_compile
+ cd "${S}/src/native/unix" || die
+ default
+}
+
+src_install() {
+ dobin src/native/unix/jsvc
+ java-pkg_newjar dist/*.jar
+
+ dodoc README RELEASE-NOTES.txt *.html src/native/unix/CHANGES.txt
+ use doc && java-pkg_dohtml -r dist/docs/*
+ use examples && java-pkg_doexamples src/samples
+ use source && java-pkg_dosrc src/main/java/*
+}