summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Aniszczyk <zx@gentoo.org>2004-02-24 22:05:51 +0000
committerChris Aniszczyk <zx@gentoo.org>2004-02-24 22:05:51 +0000
commit270110037ae45751441e853cb14aabc94c3b5a1a (patch)
treeca11bd55288f0d735aefb0f89e906fed9cb32528 /dev-java/commons-daemon/commons-daemon-1.0.ebuild
parentmask 1.6 selinux packages (diff)
downloadgentoo-2-270110037ae45751441e853cb14aabc94c3b5a1a.tar.gz
gentoo-2-270110037ae45751441e853cb14aabc94c3b5a1a.tar.bz2
gentoo-2-270110037ae45751441e853cb14aabc94c3b5a1a.zip
Initial Import.
Diffstat (limited to 'dev-java/commons-daemon/commons-daemon-1.0.ebuild')
-rw-r--r--dev-java/commons-daemon/commons-daemon-1.0.ebuild38
1 files changed, 38 insertions, 0 deletions
diff --git a/dev-java/commons-daemon/commons-daemon-1.0.ebuild b/dev-java/commons-daemon/commons-daemon-1.0.ebuild
new file mode 100644
index 000000000000..526c305b21df
--- /dev/null
+++ b/dev-java/commons-daemon/commons-daemon-1.0.ebuild
@@ -0,0 +1,38 @@
+# Copyright 1999-2004 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-java/commons-daemon/commons-daemon-1.0.ebuild,v 1.1 2004/02/24 22:05:51 zx Exp $
+
+inherit java-pkg
+
+DESCRIPTION="Tools to allow java programs to run as unix daemons"
+SRC_URI="ftp://ftp.ibiblio.org/pub/mirrors/apache/jakarta/commons/daemon/source/daemon-1.0-Alpha.tar.gz"
+HOMEPAGE="http://jakarta.apache.org/commons/daemon/"
+LICENSE="Apache-1.1"
+SLOT="0"
+DEPEND=">=virtual/jdk-1.4
+ >=dev-java/ant-1.4
+ virtual/glibc"
+KEYWORDS="~x86"
+IUSE="jikes doc"
+
+S=${WORKDIR}/daemon-${PV}-Alpha
+
+src_compile() {
+ cd src/native/unix
+ econf || die
+ emake || die
+ cd ${S}
+
+ local antflags="jar"
+ use jikes && antflags="${antflags} -Dbuild.compiler=jikes"
+ use doc && antflags="${antflags} javadoc"
+ ant ${antflags}
+}
+
+src_install () {
+ dobin src/native/unix/jsvc
+ java-pkg_dojar dist/${PN}.jar || die "Unable to install"
+ dodoc README RELEASE-NOTES.txt *.html
+ cp -R src/samples ${D}/usr/share/doc/${P}/
+ use doc && dohtml -r dist/docs/*
+}