summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVlastimil Babka <caster@gentoo.org>2007-04-29 23:00:59 +0000
committerVlastimil Babka <caster@gentoo.org>2007-04-29 23:00:59 +0000
commitc5899e38a70ac707f5b017670ff17249d1baeb86 (patch)
tree07ab9b0f6391e12c2e277b1e0f905030043fd2f5
parentAdd missing dep on >=dev-haskell/network-1.0 (diff)
downloadgentoo-2-c5899e38a70ac707f5b017670ff17249d1baeb86.tar.gz
gentoo-2-c5899e38a70ac707f5b017670ff17249d1baeb86.tar.bz2
gentoo-2-c5899e38a70ac707f5b017670ff17249d1baeb86.zip
Revbump for migration to gen-2 eclasses.
(Portage version: 2.1.2.5)
-rw-r--r--dev-java/mckoi/ChangeLog7
-rw-r--r--dev-java/mckoi/files/digest-mckoi-1.0.3-r13
-rw-r--r--dev-java/mckoi/mckoi-1.0.3-r1.ebuild54
3 files changed, 63 insertions, 1 deletions
diff --git a/dev-java/mckoi/ChangeLog b/dev-java/mckoi/ChangeLog
index 543061493282..a5551e2b3409 100644
--- a/dev-java/mckoi/ChangeLog
+++ b/dev-java/mckoi/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-java/mckoi
# Copyright 2000-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-java/mckoi/ChangeLog,v 1.9 2007/02/09 02:09:42 flameeyes Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-java/mckoi/ChangeLog,v 1.10 2007/04/29 23:00:59 caster Exp $
+
+*mckoi-1.0.3-r1 (29 Apr 2007)
+
+ 29 Apr 2007; Vlastimil Babka <caster@gentoo.org> +mckoi-1.0.3-r1.ebuild:
+ Revbump for migration to gen-2 eclasses.
09 Feb 2007; Diego Pettenò <flameeyes@gentoo.org> ChangeLog:
Regenerate digest in Manifest2 format.
diff --git a/dev-java/mckoi/files/digest-mckoi-1.0.3-r1 b/dev-java/mckoi/files/digest-mckoi-1.0.3-r1
new file mode 100644
index 000000000000..b9ddd5443f51
--- /dev/null
+++ b/dev-java/mckoi/files/digest-mckoi-1.0.3-r1
@@ -0,0 +1,3 @@
+MD5 89914c04b8b24ca876d9e15577ae3bf6 mckoi1.0.3.zip 2192577
+RMD160 ae5c47a0210ded4689daf90c95e48238895910ee mckoi1.0.3.zip 2192577
+SHA256 ffe54237dcdee9752489530347830a752a5606d7d5e97c2d395bf83355bee8df mckoi1.0.3.zip 2192577
diff --git a/dev-java/mckoi/mckoi-1.0.3-r1.ebuild b/dev-java/mckoi/mckoi-1.0.3-r1.ebuild
new file mode 100644
index 000000000000..6a970ab1eb22
--- /dev/null
+++ b/dev-java/mckoi/mckoi-1.0.3-r1.ebuild
@@ -0,0 +1,54 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-java/mckoi/mckoi-1.0.3-r1.ebuild,v 1.1 2007/04/29 23:00:59 caster Exp $
+
+JAVA_PKG_IUSE="doc examples source"
+inherit eutils java-pkg-2 java-ant-2
+
+DESCRIPTION="Mckoi Java SQL Database System"
+HOMEPAGE="http://mckoi.com/database/"
+SRC_URI="http://www.mckoi.com/database/ver/${P/-/}.zip"
+LICENSE="GPL-2"
+SLOT="1"
+KEYWORDS="~x86"
+IUSE=""
+COMMON_DEP="=dev-java/gnu-regexp-1.1*"
+RDEPEND=">=virtual/jre-1.4
+ ${COMMON_DEP}"
+# does not override free() in Blob and Clob in 1.6
+DEPEND="|| ( =virtual/jdk-1.5* =virtual/jdk-1.4* )
+ app-arch/unzip
+ ${COMMON_DEP}"
+
+S="${WORKDIR}/${P/-/}"
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+
+ unpack ./src.zip
+ epatch "${FILESDIR}/${P}-jikes.patch"
+
+ cp "${FILESDIR}/build.xml" . || die
+ java-ant_rewrite-classpath
+
+ rm -v gnu-regexp-*
+ rm -v *.jar
+ find demo -name '*.class' -delete
+ # some contrib stuff depending on jboss
+ rm -rf src/net
+}
+
+EANT_DOC_TARGET="docs"
+EANT_GENTOO_CLASSPATH="gnu-regexp-1"
+
+src_install() {
+ java-pkg_dojar dist/mckoidb.jar
+
+ dodoc README.txt db.conf
+
+ # apidocs are in expected place
+ use doc && java-pkg_dohtml -r docs/*
+ use examples && java-pkg_doexamples demo
+ use source && java-pkg_dosrc src/*
+}