summaryrefslogtreecommitdiff
path: root/dev-db
diff options
context:
space:
mode:
authorJoshua Nichols <nichoj@gentoo.org>2006-07-17 14:51:17 +0000
committerJoshua Nichols <nichoj@gentoo.org>2006-07-17 14:51:17 +0000
commit226df2161bc537f38085de5adc5aa3f677a40f97 (patch)
treebeb9032c6293a0256b9b6aa963d91af55c90dd15 /dev-db
parentMarked stable on amd64 for bug #139612 (diff)
downloadgentoo-2-226df2161bc537f38085de5adc5aa3f677a40f97.tar.gz
gentoo-2-226df2161bc537f38085de5adc5aa3f677a40f97.tar.bz2
gentoo-2-226df2161bc537f38085de5adc5aa3f677a40f97.zip
Added java to metadata. Revision bump to support new build system.
(Portage version: 2.1.1_pre2-r4)
Diffstat (limited to 'dev-db')
-rw-r--r--dev-db/xpg/ChangeLog8
-rw-r--r--dev-db/xpg/files/digest-xpg-0.14
-rw-r--r--dev-db/xpg/files/digest-xpg-0.1-r16
-rw-r--r--dev-db/xpg/metadata.xml2
-rw-r--r--dev-db/xpg/xpg-0.1-r1.ebuild39
5 files changed, 57 insertions, 2 deletions
diff --git a/dev-db/xpg/ChangeLog b/dev-db/xpg/ChangeLog
index 8b256e1b5030..8ae427e685e8 100644
--- a/dev-db/xpg/ChangeLog
+++ b/dev-db/xpg/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for dev-db/xpg
# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-db/xpg/ChangeLog,v 1.5 2006/07/15 10:57:31 kloeri Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-db/xpg/ChangeLog,v 1.6 2006/07/17 14:51:17 nichoj Exp $
+
+*xpg-0.1-r1 (17 Jul 2006)
+
+ 17 Jul 2006; Joshua Nichols <jnichols@gentoo.org> metadata.xml,
+ +xpg-0.1-r1.ebuild:
+ Added java to metadata. Revision bump to support new build system.
15 Jul 2006; Bryan Østergaard <kloeri@gentoo.org> metadata.xml:
Remove SeJo from metadata.xml as he's retired.
diff --git a/dev-db/xpg/files/digest-xpg-0.1 b/dev-db/xpg/files/digest-xpg-0.1
index dae57bda47a0..4ed27ad466bf 100644
--- a/dev-db/xpg/files/digest-xpg-0.1
+++ b/dev-db/xpg/files/digest-xpg-0.1
@@ -1,2 +1,6 @@
MD5 dfbab3741d64fecea33219179304d464 xpg-current.tar.gz 634870
+RMD160 45cd85d27968478a0eb0af941021fe4ab17236a3 xpg-current.tar.gz 634870
+SHA256 55e5aa108c49696980cc918f0975678008beff02612dac6920f770a5a8976ce6 xpg-current.tar.gz 634870
MD5 aba52d5c542230e134ea6c0e62640a4f xpg-icons.tar.gz 38039
+RMD160 786a17f569eb3dc2427c6320fc119b1a279117f6 xpg-icons.tar.gz 38039
+SHA256 07207638d2a1638c638ebac2f0a522885fb68ba9685592c1b2fe46d581a75fd8 xpg-icons.tar.gz 38039
diff --git a/dev-db/xpg/files/digest-xpg-0.1-r1 b/dev-db/xpg/files/digest-xpg-0.1-r1
new file mode 100644
index 000000000000..4ed27ad466bf
--- /dev/null
+++ b/dev-db/xpg/files/digest-xpg-0.1-r1
@@ -0,0 +1,6 @@
+MD5 dfbab3741d64fecea33219179304d464 xpg-current.tar.gz 634870
+RMD160 45cd85d27968478a0eb0af941021fe4ab17236a3 xpg-current.tar.gz 634870
+SHA256 55e5aa108c49696980cc918f0975678008beff02612dac6920f770a5a8976ce6 xpg-current.tar.gz 634870
+MD5 aba52d5c542230e134ea6c0e62640a4f xpg-icons.tar.gz 38039
+RMD160 786a17f569eb3dc2427c6320fc119b1a279117f6 xpg-icons.tar.gz 38039
+SHA256 07207638d2a1638c638ebac2f0a522885fb68ba9685592c1b2fe46d581a75fd8 xpg-icons.tar.gz 38039
diff --git a/dev-db/xpg/metadata.xml b/dev-db/xpg/metadata.xml
index 8953f1521b1d..d25529ca3a79 100644
--- a/dev-db/xpg/metadata.xml
+++ b/dev-db/xpg/metadata.xml
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
-<herd>no-herd</herd>
+<herd>java</herd>
<longdescription>
xpg is a GUI tool for postgresql, it allows you to create databases,
users, queries. Overall it's a very good database GUI
diff --git a/dev-db/xpg/xpg-0.1-r1.ebuild b/dev-db/xpg/xpg-0.1-r1.ebuild
new file mode 100644
index 000000000000..fa71ad9e861f
--- /dev/null
+++ b/dev-db/xpg/xpg-0.1-r1.ebuild
@@ -0,0 +1,39 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-db/xpg/xpg-0.1-r1.ebuild,v 1.1 2006/07/17 14:51:17 nichoj Exp $
+
+inherit java-pkg-2
+
+DESCRIPTION="GUI for PostgreSQL written in Java"
+HOMEPAGE="http://www.kazak.ws/xpg/"
+SRC_URI="mirror://gentoo/xpg-current.tar.gz
+ mirror://gentoo/xpg-icons.tar.gz"
+S="${WORKDIR}/xpg-current"
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~ppc ~x86"
+IUSE=""
+RDEPEND=">=virtual/jre-1.4"
+DEPEND=">=virtual/jdk-1.4"
+
+src_unpack() {
+ unpack ${A}
+ cd ${S}
+ sed -i "s/javac/javac $(java-pkg_javac-args)/" Makefile || die "sed failed"
+}
+
+src_compile() {
+ emake || die "emake failed"
+}
+
+src_install() {
+ cd ${S}
+ java-pkg_dojar bin/*.jar
+ dodir /usr/share/xpg /usr/share/pixmaps/
+ cp -Rdp styles ${D}/usr/share/xpg/
+ cp -Rdp ${WORKDIR}/*.jpg ${D}/usr/share/pixmaps/
+ cp -Rdp ${WORKDIR}/*.xpm ${D}/usr/share/pixmaps/
+ dohtml -r doc/*
+
+ java-pkg_dolauncher ${PN} --jar xpg.jar --java_args '-Dxpghome=/usr/share/xpg'
+}