diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
commit | 4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch) | |
tree | ba5f07bf3f9d22d82e54a462313f5d244036c768 /dev-java/jdbc2-stdext |
reinit the tree, so we can have metadata
Diffstat (limited to 'dev-java/jdbc2-stdext')
-rw-r--r-- | dev-java/jdbc2-stdext/Manifest | 5 | ||||
-rw-r--r-- | dev-java/jdbc2-stdext/jdbc2-stdext-2.0-r3.ebuild | 70 | ||||
-rw-r--r-- | dev-java/jdbc2-stdext/metadata.xml | 8 |
3 files changed, 83 insertions, 0 deletions
diff --git a/dev-java/jdbc2-stdext/Manifest b/dev-java/jdbc2-stdext/Manifest new file mode 100644 index 000000000000..8f5ecab161e4 --- /dev/null +++ b/dev-java/jdbc2-stdext/Manifest @@ -0,0 +1,5 @@ +DIST jdbc2_0-stdext-src.zip 21642 SHA256 70470d9f3a2e1f4e29b909bf9c89005a9d2523825eb50cf70b2fa2957ff8b2aa SHA512 5157a5835983c094b13d947a39311d08ea57cd8e60197176681289d41a209f3f8b464e1e0dd97ed714534ba5afb749807e02efb3edba4e2c91e273e71f6f1ce3 WHIRLPOOL a57f77ae2b268b21e7733b7cf4edf1cd8751c8c5c25f1b7a6ae78677c14d5f499a9a05c36cd88a3c9ec9c4fc361476cc7433fa81cb94ed51b09ac4a2bca341a5 +EBUILD jdbc2-stdext-2.0-r3.ebuild 1523 SHA256 dc89289f7b867c137efbe4cf17825421996cbace54a7a88d9634be81543b2834 SHA512 1532f846d6ce1e2287d28e963b68ef689b2572f0eea2c795b97f22ef373eee2a4b5b618f4442221b5f8704fb8eba111618c38417d749735aefa911a145afda30 WHIRLPOOL 5d3955a3f321a1f9fb9a8bbc9b65b19cd271021ede9b0ebae2009c83e8c04810a7c9f4b08a2d556689a2004279b625dc02570770d28bed8c8d6aa50bd2eb9015 +MISC ChangeLog 2444 SHA256 70d770d4ae003a4d6d1cbdeae48156063fc4aa04ac84fb8446b568c66acb208f SHA512 a13f46199bd33fa9f854df440069891c5b763eb5d1158c593d1ddc4a0a18a0caed3ee549b97e7fd0172ec8b7e18afdafb87e1816dbb4e93d3554a58ab5066de3 WHIRLPOOL ad5320ee874840f93a6dbe6335ba6a4ced4d09e60931f0d2916d515759c1ac578149b6d1d55f25e193e9c42a129141a9461cdaf23b6a0c165006137de5a028f0 +MISC ChangeLog-2015 2386 SHA256 a582b25709fe7d974bf6fe0d93147853aeef5273c89f229134240c2364e4c306 SHA512 e9f412741585ac51d6edd5ec2d6d6e4377ddd51a7333b6b0627a5b3324ee74be4b4a1e8dc63ddb3f3051c350a1095f0988c8468f4be27f8992d1f1e145d47846 WHIRLPOOL 6116853f5679731b22168724cfc1bec71d0ad2ba5b8e514a0ed3da2068893b6ac59b63a3d1b656d9ad9ca4a6c618fdbecaa514683cd64712f176a16c9a1f2162 +MISC metadata.xml 232 SHA256 0c8d91b3d514ac42d0eaca567346ab909c0f947049c85c25a380ec2400f1b3fb SHA512 00beaf2c81112ff757c4395f4ea47e85f2d48e369e241f10ddf200090dd6513d52ae2b1aef6d28b7417f1cf34608a7258a167eb307d5670323a2190f3710f893 WHIRLPOOL 3a1a6d054edc9177d85ca868f9b0a6e84ee51bab4fbdbb9b1ead1a03874036bcc3f96e903fb751dc4d29fdb7d6b5f3d8dbe7b042fc697c887e23f41cc9c8c4ac diff --git a/dev-java/jdbc2-stdext/jdbc2-stdext-2.0-r3.ebuild b/dev-java/jdbc2-stdext/jdbc2-stdext-2.0-r3.ebuild new file mode 100644 index 000000000000..f49f640216bc --- /dev/null +++ b/dev-java/jdbc2-stdext/jdbc2-stdext-2.0-r3.ebuild @@ -0,0 +1,70 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI="5" + +JAVA_PKG_IUSE="doc source" + +inherit java-pkg-2 + +stdext_src="jdbc2_0-stdext-src.zip" +stdext_jar="jdbc2-stdext.jar" + +DESCRIPTION="A standard set of libs for Server-Side JDBC support" +HOMEPAGE="http://www.oracle.com/technetwork/java/index.html" +SRC_URI="${stdext_src}" + +LICENSE="Oracle-BCLA-JavaSE" +SLOT="0" +KEYWORDS="~amd64" + +RESTRICT="fetch" + +RDEPEND=" + >=virtual/jre-1.4" + +DEPEND=" + >=virtual/jdk-1.4 + app-arch/unzip" + +S="${WORKDIR}" + +pkg_nofetch() { + local download_url="http://www.oracle.com/technetwork/java/javasebusiness/downloads/java-archive-downloads-database-419422.html#7099-jdbc-2.0-src-oth-JPR" + + einfo + einfo " Due to license restrictions, we cannot fetch the" + einfo " distributables automagically." + einfo + einfo " 1. Visit ${download_url}" + einfo " 2. Select 'JDBC Standard Extension Source 2.0'" + einfo " 3. Download ${stdext_src}" + einfo " 4. Move to ${DISTDIR}" + einfo + einfo " Run emerge on this package again to complete" + einfo +} + +src_unpack() { + mkdir src || die + cd src || die + unpack ${A} +} + +src_compile() { + mkdir classes || die + ejavac -d classes src/javax/sql/*.java + jar cf "${stdext_jar}" -C classes/ . || die "jar failed" + + if use doc; then + javadoc -d api -source $(java-pkg_get-source) -sourcepath src/ \ + javax.sql || die "javadoc failed" + fi +} + +src_install() { + java-pkg_dojar "${stdext_jar}" + + use doc && java-pkg_dojavadoc api + use source && java-pkg_dosrc src/* +} diff --git a/dev-java/jdbc2-stdext/metadata.xml b/dev-java/jdbc2-stdext/metadata.xml new file mode 100644 index 000000000000..2444066aa02b --- /dev/null +++ b/dev-java/jdbc2-stdext/metadata.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<maintainer type="project"> + <email>java@gentoo.org</email> + <name>Java</name> +</maintainer> +</pkgmetadata> |