summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-db/sqldeveloper')
-rw-r--r--dev-db/sqldeveloper/ChangeLog8
-rw-r--r--dev-db/sqldeveloper/Manifest4
-rw-r--r--dev-db/sqldeveloper/sqldeveloper-1.5.4.59.40.ebuild96
3 files changed, 106 insertions, 2 deletions
diff --git a/dev-db/sqldeveloper/ChangeLog b/dev-db/sqldeveloper/ChangeLog
index fcab157e4655..74ca30cfcce7 100644
--- a/dev-db/sqldeveloper/ChangeLog
+++ b/dev-db/sqldeveloper/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for dev-db/sqldeveloper
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-db/sqldeveloper/ChangeLog,v 1.3 2009/01/20 19:34:18 bluebird Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-db/sqldeveloper/ChangeLog,v 1.4 2009/03/07 11:32:25 bluebird Exp $
+
+*sqldeveloper-1.5.4.59.40 (07 Mar 2009)
+
+ 07 Mar 2009; Friedrich Oslage <bluebird@gentoo.org>
+ +sqldeveloper-1.5.4.59.40.ebuild:
+ Version bump
20 Jan 2009; Friedrich Oslage <bluebird@gentoo.org>
sqldeveloper-1.5.3.5783.ebuild:
diff --git a/dev-db/sqldeveloper/Manifest b/dev-db/sqldeveloper/Manifest
index 1892e1684005..228c2efc6ea5 100644
--- a/dev-db/sqldeveloper/Manifest
+++ b/dev-db/sqldeveloper/Manifest
@@ -1,5 +1,7 @@
AUX sqldeveloper 290 RMD160 c8636f571f0dc48118bb80edd8d8ee8dfc5b60dc SHA1 4a6907dec0bcae73971959fb725c65d9edef0eb9 SHA256 3f9563a05c1c059b92365eb3b3940b118fb70494854f12addf0b4ef90eb49236
+DIST sqldeveloper-1.5.4.59.40-no-jre.zip 76430283 RMD160 5e4c76ca9bd173e99fb2bfb64d3694b65847f1a4 SHA1 635b34b87b058242694a797bc83ca655a56a924a SHA256 3849ea6560bc31a17f6c457ffdefde018041e8acb601426a027efd5fea62debc
DIST sqldeveloper-5783-no-jre.zip 71769626 RMD160 42dbb3105320966b285eaec6ad2960e2ee7492af SHA1 63a9b400c7103e76d724eca4ed174cc85eb10d7b SHA256 8f171b277bc7b3817026a3848508db79da1571d893c06a89bc5fd97b0923695b
EBUILD sqldeveloper-1.5.3.5783.ebuild 2773 RMD160 4d19dad00f95beee4d12422adc826c3b0405b50f SHA1 6fba0fcafe16b59bed3ea1f717949aa466bf218a SHA256 8b091aa92d33b35477715169f4fbe4b4f0b62015100f594d5be022d1be3f81af
-MISC ChangeLog 700 RMD160 b9aa83c7669db60de5475760fcb43edae1a42694 SHA1 55ca889c320db787dec91fce0506a009582dc7fb SHA256 b0e602e4e35accf9a9d7c263b34596b0865edfa9d74a523306e00280e55af3ea
+EBUILD sqldeveloper-1.5.4.59.40.ebuild 2710 RMD160 d65d03ab968370a274a13c3e3e05f0b96486e27a SHA1 6fc935b035b960bd4371d20a3ce025e8fb203f96 SHA256 beebd6a8396d4f42550d6768751ed3b6de2678cb9dede9d5b4a7f0405b51c2e1
+MISC ChangeLog 847 RMD160 f15b00fb004702b3e5abf42f07323a904cc7a6b0 SHA1 ca12f1b58a306a61f9948f3ec3f286fff92a3062 SHA256 509cb5e6daffbd5151d5245c60fec309fcb53e03325cb0d7c2df1f955a3301ca
MISC metadata.xml 689 RMD160 a2a9247623029121da9b8d8cec7bb2252f6cd159 SHA1 351be6254e9547e43ad504c2ecfefdcb3c115df9 SHA256 169c9dccf300881b1c7c4c894a93766e8a48a134ae58a7cb6a877bdf42b8fa46
diff --git a/dev-db/sqldeveloper/sqldeveloper-1.5.4.59.40.ebuild b/dev-db/sqldeveloper/sqldeveloper-1.5.4.59.40.ebuild
new file mode 100644
index 000000000000..6be0abc79544
--- /dev/null
+++ b/dev-db/sqldeveloper/sqldeveloper-1.5.4.59.40.ebuild
@@ -0,0 +1,96 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-db/sqldeveloper/sqldeveloper-1.5.4.59.40.ebuild,v 1.1 2009/03/07 11:32:25 bluebird Exp $
+
+EAPI="2"
+
+inherit eutils
+
+DESCRIPTION="Oracle SQL Developer is a graphical tool for database development"
+HOMEPAGE="http://www.oracle.com/technology/products/database/sql_developer/"
+SRC_URI="${P}-no-jre.zip"
+RESTRICT="fetch"
+
+LICENSE="OTN"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="mssql mysql sybase"
+
+DEPEND="mssql? ( dev-java/jtds )
+ mysql? ( dev-java/jdbc-mysql )
+ sybase? ( dev-java/jtds )"
+RDEPEND=">=virtual/jdk-1.5.0
+ ${DEPEND}"
+
+S="${WORKDIR}/${PN}"
+
+pkg_nofetch() {
+ eerror "Please go to"
+ eerror " ${HOMEPAGE}"
+ eerror "and download"
+ eerror " Oracle SQL Developer for other platforms"
+ eerror " ${SRC_URI}"
+ eerror "and move it to ${DISTDIR}"
+}
+
+src_prepare() {
+ # we don't need these, do we?
+ find ./ -iname "*.exe" -or -iname "*.dll" -exec rm {} \;
+}
+
+src_configure() {
+ # they both use jtds, enabling one of them also enables the other one
+ if use mssql && ! use sybase; then
+ einfo "You requested MSSQL support, this also enables Sybase support."
+ fi
+ if use sybase && ! use mssql; then
+ einfo "You requested Sybase support, this also enables MSSQL support."
+ fi
+
+ if use mssql || use sybase; then
+ jtds_version="$(best_version dev-java/jtds)"
+ jtds_version="${jtds_version/dev-java\/jtds-/}"
+ jtds_version="${jtds_version/-*/}"
+
+ if [ ! -e "${ROOT}/usr/share/jtds-${jtds_version}/lib/jtds.jar" ]; then
+ eerror "$(best_version dev-java/jtds) does not provide jtds.jar!"
+ die "Cannot find jtds.jar"
+ fi
+
+ echo "AddJavaLibFile /usr/share/jtds-${jtds_version}/lib/jtds.jar" \
+ >> sqldeveloper/bin/sqldeveloper.conf
+ fi
+
+ if use mysql; then
+ if [ ! -e "${ROOT}"/usr/share/jdbc-mysql/lib/jdbc-mysql.jar ]; then
+ eerror "$(best_version jdbc-mysql) does not provide jdbc-mysql.jar!"
+ die "Cannot find jdbc-mysql.jar"
+ fi
+
+ echo "AddJavaLibFile /usr/share/jdbc-mysql/lib/jdbc-mysql.jar" \
+ >> sqldeveloper/bin/sqldeveloper.conf
+ fi
+}
+
+src_install() {
+ dodir /opt/${PN}
+ cp -r {BC4J,dvt,ide,j2ee,jdbc,jdev,jlib,lib,rdbms,${PN},timingframework} \
+ "${D}"/opt/${PN}/ || die "Install failed"
+
+ dobin "${FILESDIR}"/${PN} || die "Install failed"
+
+ mv icon.png ${PN}-32x32.png
+ mv raptor_image.jpg ${PN}-48x48.jpg
+ doicon ${PN}-32x32.png ${PN}-48x48.jpg
+ make_desktop_entry ${PN} "Oracle SQL Developer" ${PN}-32x32
+
+ dodoc relnotes.html
+}
+
+pkg_postinst() {
+ echo
+ einfo "If you want to use the TNS connection type you need to set up the"
+ einfo "TNS_ADMIN environment variable to point to the directory your"
+ einfo "tnsnames.ora resides in."
+ echo
+}