summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrey Kislyuk <weaver@gentoo.org>2009-11-12 17:48:24 +0000
committerAndrey Kislyuk <weaver@gentoo.org>2009-11-12 17:48:24 +0000
commit29a81ac4943dc73c24669a0e5c724b034f89c8fd (patch)
treea6e47cfc232889bcc92228e6c0768858492adadc /dev-java/tclib
parentVersion bump (diff)
downloadgentoo-2-29a81ac4943dc73c24669a0e5c724b034f89c8fd.tar.gz
gentoo-2-29a81ac4943dc73c24669a0e5c724b034f89c8fd.tar.bz2
gentoo-2-29a81ac4943dc73c24669a0e5c724b034f89c8fd.zip
Import from Java overlay, dependency of sci-biology/cytoscape
(Portage version: 2.2_rc30/cvs/Linux x86_64)
Diffstat (limited to 'dev-java/tclib')
-rw-r--r--dev-java/tclib/ChangeLog13
-rw-r--r--dev-java/tclib/metadata.xml6
-rw-r--r--dev-java/tclib/tclib-1.1.ebuild37
3 files changed, 56 insertions, 0 deletions
diff --git a/dev-java/tclib/ChangeLog b/dev-java/tclib/ChangeLog
new file mode 100644
index 000000000000..931d9946a628
--- /dev/null
+++ b/dev-java/tclib/ChangeLog
@@ -0,0 +1,13 @@
+# ChangeLog for dev-java/tclib
+# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-java/tclib/ChangeLog,v 1.1 2009/11/12 17:48:24 weaver Exp $
+
+*tclib-1.1 (12 Nov 2009)
+
+ 12 Nov 2009; Andrey Kislyuk <weaver@gentoo.org> +metadata.xml,
+ +tclib-1.1.ebuild:
+ Import from Java overlay, dependency of sci-biology/cytoscape
+
+ 22 Jan 2009; Alistair Bush <ali_bush@gentoo.org> ChangeLog:
+ Add ChangeLog for QA.
+
diff --git a/dev-java/tclib/metadata.xml b/dev-java/tclib/metadata.xml
new file mode 100644
index 000000000000..604e0a4238bb
--- /dev/null
+++ b/dev-java/tclib/metadata.xml
@@ -0,0 +1,6 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>java</herd>
+</pkgmetadata>
+
diff --git a/dev-java/tclib/tclib-1.1.ebuild b/dev-java/tclib/tclib-1.1.ebuild
new file mode 100644
index 000000000000..4454d01804bc
--- /dev/null
+++ b/dev-java/tclib/tclib-1.1.ebuild
@@ -0,0 +1,37 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-java/tclib/tclib-1.1.ebuild,v 1.1 2009/11/12 17:48:24 weaver Exp $
+
+EAPI="2"
+
+JAVA_PKG_IUSE="doc source"
+
+inherit java-pkg-2 java-ant-2
+
+DESCRIPTION="Type-Specific Collections Library"
+HOMEPAGE="http://www.sosnoski.com/opensrc/tclib/"
+SRC_URI="http://dev.gentooexperimental.org/~dreeevil/${P}-source.jar"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+RDEPEND=">=virtual/jre-1.4"
+DEPEND=">=virtual/jdk-1.4"
+
+S="${WORKDIR}"
+
+java_prepare() {
+ find -name '*.jar' -print -delete
+ find -name '*.class' -print -delete
+}
+
+EANT_BUILD_XML="build/build.xml"
+EANT_BUILD_TARGET="package"
+
+src_install() {
+ java-pkg_dojar lib/tclib.jar
+ use source && java-pkg_dosrc build/src
+ use doc && java-pkg_dojavadoc build/docs
+}