summaryrefslogtreecommitdiff
path: root/dev-db
diff options
context:
space:
mode:
authorJohann Schmitz <ercpe@gentoo.org>2014-03-01 18:57:19 +0000
committerJohann Schmitz <ercpe@gentoo.org>2014-03-01 18:57:19 +0000
commit8bc6aa7a134dde50cf1ef91d4b30d4da996ff2c0 (patch)
tree81d023519d0d2a6482f315aa4781d60091320dfb /dev-db
parentEbuild for derby (bug #268422). (diff)
downloadhistorical-8bc6aa7a134dde50cf1ef91d4b30d4da996ff2c0.tar.gz
historical-8bc6aa7a134dde50cf1ef91d4b30d4da996ff2c0.tar.bz2
historical-8bc6aa7a134dde50cf1ef91d4b30d4da996ff2c0.zip
Ebuild for derby (bug #268422).
Originally written by Kyle Cavin and updated by Joe Sapp Package-Manager: portage-2.2.7/cvs/Linux x86_64 Manifest-Sign-Key: 0x77C501ED
Diffstat (limited to 'dev-db')
-rw-r--r--dev-db/derby/Manifest17
-rw-r--r--dev-db/derby/derby-10.10.1.1.ebuild66
-rw-r--r--dev-db/derby/metadata.xml9
3 files changed, 91 insertions, 1 deletions
diff --git a/dev-db/derby/Manifest b/dev-db/derby/Manifest
index 9a9674fde083..2f19a18dde4d 100644
--- a/dev-db/derby/Manifest
+++ b/dev-db/derby/Manifest
@@ -1,3 +1,18 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA256
+
DIST db-derby-10.10.1.1-src.tar.gz 24152897 SHA256 4e5d5ec1389ab8ff7425d2e4ade4c16d47e433d8bd50c3aedbe4de26a31f0cc5 SHA512 0e8ac005d8e18d7615515bf1928e8fefd2547017923084c06647d27f20d5599985b03c52e77856fe2db08e78f103dbe695820145a3f4358527512d050da06dde WHIRLPOOL 9f62165ab05c64ccfb4306fe38370d2800bbdd16eef677f2cc8c6365f984f765e7cfe785676caf6a3b4e6d6628de52ba6b8bcc96254a24ba102817a914fc8650
-EBUILD derby-10.10.1.1.ebuild 1647 SHA256 cedee66899530cebf99d3c44420d66a19cfe9fa14158025025892e61bdb35a51 SHA512 3a56d54d48dcc0f4dda02062e1fabfe1b63aa7210e14f280f4649dccc6dff26e6b2f346bec082755cc9e0eea90b94945a478c3dfef0e9692cf2d6472fc65aad0 WHIRLPOOL 0c99755a7f5584619c61952db56022fde36ef787272a4a810b904be64b7141e2b22f8979de90300681cbad5ca74a164d9cd6c811c8482eefbf8eb4b40aaaf4f1
+EBUILD derby-10.10.1.1.ebuild 1743 SHA256 105f37ed92a493aeb34c0dc5a1be375c262e7cb96ea13dd4d5a9281f6c1baeb0 SHA512 4a8e8e455496032ba5ab615baca8881f215585b337ae95ac4d2ed069dc43a6fda32b1eac9976904a28aba38b85b31a87437f557b2f3cc456017b4a8b93f51183 WHIRLPOOL 007ffc250180a4a2baa92d4a083a4f2c059d982ced91eab1dfb04668b5c6fdf7e5229cf24df40c4c58ae6dce5da2ed102cf1c17e43700cb616ec61362ce8df11
+MISC ChangeLog 413 SHA256 f8843661fe6a609f7858dfd49a510ac595de87b02af5a3e23bd7c6acd7f20c76 SHA512 b0a1e028973c104640dd49d79c5505a43a75f142ca50e003909d4c301fb1f01ee859cd5fd8630c7249cf3230db1586143dbec1dd345e7efcaeee918a1891378d WHIRLPOOL 84f5bcef737022562116be797ec76a937862c0bdcfefab90306828d9c6c60cff1a95d17c83a538f312dce0f179bf763d20b3a654707ffa496f5a05b79d672a63
MISC metadata.xml 245 SHA256 24b570f4143908ed3d8a525e812d1be0fa9bfa5edd9379b36888983bef04a687 SHA512 60cecef99393c03910f6c505b668daf157eb2f5386301b210cde8a3ebdc516eb081e9fb4e844aecba79b7d0c8cf5269d1a3fcaacf05a52b061f3d1572ca8f3b3 WHIRLPOOL 22a6146c6a4a39b4e1c4b531e4a78472a23847aa1aa560bd9d409a7f20eb9bfb6065219ce042e56940a6abad24d3ebbb3a5966cfe80d913d94917dc40f1160a6
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2.0.22 (GNU/Linux)
+
+iQEcBAEBCAAGBQJTEi2NAAoJEKCEBkJ3xQHtokkH/RnTJZdcLjAS1ePhhOCsn/Go
+V/Fh9EtqKLpdeC9lMDl1gtL2slSe0LFeitS/L9BfZKfxZF/SWoGk0ZLmpNY9ePIp
+Lf0VxQTzC2fM/w7oyTKeyxEV4vuACsTmXkHkg1SL5VG19wROUtEM9XOddMXqdoFm
+P3pYFfkv21mows4/e+9mAw0FG6iNHn6UqAIhkdIvb27JJ+HqEU2g7Yrk3Q3f8RiS
+bvcqxi+JWAUDP7eGZJ5Fl0//+F8HIdfbFC0anf65VTyYyZbc5WK2vwwWCdhHKNU2
+lEFFvEHeyE33kXtt3A4w1F2B/LxxdWbG6bQ+OqFj5jg31eKqVrKvjpuyFFBwQxs=
+=0oAy
+-----END PGP SIGNATURE-----
diff --git a/dev-db/derby/derby-10.10.1.1.ebuild b/dev-db/derby/derby-10.10.1.1.ebuild
new file mode 100644
index 000000000000..1250917c9f85
--- /dev/null
+++ b/dev-db/derby/derby-10.10.1.1.ebuild
@@ -0,0 +1,66 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-db/derby/derby-10.10.1.1.ebuild,v 1.1 2014/03/01 18:57:12 ercpe Exp $
+
+EAPI=5
+
+JAVA_PKG_IUSE="doc source test"
+JAVA_PKG_BSFIX="off"
+
+inherit java-pkg-2 java-ant-2
+
+MY_P=db-${P}
+DESCRIPTION="An embeddable relational database implemented entirely in Java"
+HOMEPAGE="http://db.apache.org/derby/"
+SRC_URI="mirror://apache/db/${PN}/${MY_P}/${MY_P}-src.tar.gz"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="linguas_de linguas_es linguas_fr linguas_hu linguas_it linguas_ja linguas_ko linguas_pl linguas_pt linguas_ru linguas_zh"
+
+LANGS="de es fr hu it ja ko pl pt ru zh"
+
+# see https://issues.apache.org/jira/browse/DERBY-5125
+DEPEND=">=virtual/jdk-1.6
+ <dev-java/javacc-5.0
+ test? ( dev-java/jakarta-oro:2.0 )
+ "
+RDEPEND=">=virtual/jre-1.6
+ ${CDEPEND}"
+
+S="${WORKDIR}/${MY_P}-src"
+
+EANT_BUILD_TARGET="buildsource buildjars"
+EANT_TEST_TARGET="testing"
+
+java_prepare() {
+ find tools/java -name "*.jar" -exec rm -v {} \; || die
+ cd tools/java || die
+
+ java-pkg_jar-from --build-only javacc
+ use test && java-pkg_jar-from --build-only jakarta-oro:2.0 jakarta-oro.jar jakarta-oro-2.0.8.jar
+}
+
+src_install() {
+ strip-linguas ${LANGS}
+ local LOCALE_JARS="${LINGUAS// /,}"
+
+ java-pkg_dojar jars/sane/derby{,run,net,tools,client}.jar
+
+ for x in ${LINGUAS}; do
+ java-pkg_dojar jars/sane/derbyLocale_${x}*.jar
+ done
+
+ java-pkg_dowar jars/sane/derby.war
+
+ dodoc README STATUS KEYS NOTICE || die "docs failed"
+ dohtml -r {RELEASE-NOTES,published_api_overview}.html || die "docs failed"
+
+ use doc && java-pkg_dojavadoc javadoc
+ use source && java-pkg_dosrc java/
+}
+
+src_test() {
+ java-pkg-2_src_test
+} \ No newline at end of file
diff --git a/dev-db/derby/metadata.xml b/dev-db/derby/metadata.xml
new file mode 100644
index 000000000000..391b9dfb57da
--- /dev/null
+++ b/dev-db/derby/metadata.xml
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer>
+ <email>johann@j-schmitz.net</email>
+ <name>Johann Schmitz (ercpe)</name>
+ </maintainer>
+</pkgmetadata>
+