summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Aniszczyk <zx@gentoo.org>2004-04-18 22:02:06 +0000
committerChris Aniszczyk <zx@gentoo.org>2004-04-18 22:02:06 +0000
commit7f094cd3c243dcb203daaf07184d86467043673d (patch)
treeb55bb3b175e36ffab5c7b06db3b772818b589284 /dev-java/jmdns
parentChanged profile to use fixed glibc (diff)
downloadgentoo-2-7f094cd3c243dcb203daaf07184d86467043673d.tar.gz
gentoo-2-7f094cd3c243dcb203daaf07184d86467043673d.tar.bz2
gentoo-2-7f094cd3c243dcb203daaf07184d86467043673d.zip
Initial Import. Closes #48047
Diffstat (limited to 'dev-java/jmdns')
-rw-r--r--dev-java/jmdns/ChangeLog10
-rw-r--r--dev-java/jmdns/Manifest3
-rw-r--r--dev-java/jmdns/files/digest-jmdns-0.21
-rw-r--r--dev-java/jmdns/jmdns-0.2.ebuild32
-rw-r--r--dev-java/jmdns/metadata.xml5
5 files changed, 51 insertions, 0 deletions
diff --git a/dev-java/jmdns/ChangeLog b/dev-java/jmdns/ChangeLog
new file mode 100644
index 000000000000..19464a00e7f6
--- /dev/null
+++ b/dev-java/jmdns/ChangeLog
@@ -0,0 +1,10 @@
+# ChangeLog for dev-java/jmdns
+# Copyright 2000-2004 Gentoo Technologies, Inc.; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-java/jmdns/ChangeLog,v 1.1 2004/04/18 22:02:06 zx Exp $
+
+*jmdns-0.2 (18 Apr 2004)
+
+ 18 Apr 2004; Chris Aniszczyk <zx@gentoo.org> jmdns-0.2.ebuild, metadata.xml:
+ Initial Import. Closes #48047
+ Thanks to Guy de Pourtales <guy@gadp.ch> for the initial ebuild.
+
diff --git a/dev-java/jmdns/Manifest b/dev-java/jmdns/Manifest
new file mode 100644
index 000000000000..b757af0382a3
--- /dev/null
+++ b/dev-java/jmdns/Manifest
@@ -0,0 +1,3 @@
+MD5 39d7e081b6d93e8a5c6caa6d2d897e36 jmdns-0.2.ebuild 1025
+MD5 a6ec7d7724fbd068ffb39b5be56134ed metadata.xml 157
+MD5 b95344c2a95e2466f57e5f49ada39097 files/digest-jmdns-0.2 60
diff --git a/dev-java/jmdns/files/digest-jmdns-0.2 b/dev-java/jmdns/files/digest-jmdns-0.2
new file mode 100644
index 000000000000..8cf6fe847be6
--- /dev/null
+++ b/dev-java/jmdns/files/digest-jmdns-0.2
@@ -0,0 +1 @@
+MD5 e910992487d5d56ddf1a0aa4e72952ea jmdns-0.2.tar.gz 82227
diff --git a/dev-java/jmdns/jmdns-0.2.ebuild b/dev-java/jmdns/jmdns-0.2.ebuild
new file mode 100644
index 000000000000..976096d534d6
--- /dev/null
+++ b/dev-java/jmdns/jmdns-0.2.ebuild
@@ -0,0 +1,32 @@
+# Copyright 1999-2004 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-java/jmdns/jmdns-0.2.ebuild,v 1.1 2004/04/18 22:02:06 zx Exp $
+
+inherit java-pkg
+
+DESCRIPTION="JmDNS is an implementation of multi-cast DNS in Java. It supports service discovery and service registration. It is fully interoperable with Apple's Rendezvous"
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
+HOMEPAGE="http://jmdns.sourceforge.net"
+IUSE="doc"
+DEPEND=">=virtual/jdk-1.3.1"
+RDEPEND=">=virtual/jdk-1.3.1"
+LICENSE="LGPL-2.1"
+SLOT="0"
+KEYWORDS="~x86"
+
+src_compile() {
+ einfo "Compiling JmDNS..."
+ javac ${S}/src/javax/jmdns/*
+ einfo "Compiling tools..."
+ javac -classpath ${S}/src ${S}/src/com/strangeberry/jmdns/tools/*
+ einfo "Making jars..."
+ jar cf jmdns.jar -C ${S}/src javax
+ echo "Main-class: com.strangeberry.jmdns.tools.Main" > jmdns-tools-manifest
+ jar cmf jmdns-tools-manifest jmdns-tools.jar -C ${S}/src com -C ${S}/src javax
+}
+
+src_install() {
+ java-pkg_dojar jmdns*.jar
+ dodoc README.txt LICENSE.txt
+ use doc && dohtml -r docs/*
+}
diff --git a/dev-java/jmdns/metadata.xml b/dev-java/jmdns/metadata.xml
new file mode 100644
index 000000000000..838c00a4a448
--- /dev/null
+++ b/dev-java/jmdns/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>java</herd>
+</pkgmetadata>