summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJochen Maes <sejo@gentoo.org>2004-08-05 13:51:26 +0000
committerJochen Maes <sejo@gentoo.org>2004-08-05 13:51:26 +0000
commitf4f46d92cac91396ce9e4e523a9f4462a0d5bc5f (patch)
tree985921727adb7a3433351b7cc7758d40413231ad /dev-db/xpg
parentremoved hardcopy to /usr/* (diff)
downloadhistorical-f4f46d92cac91396ce9e4e523a9f4462a0d5bc5f.tar.gz
historical-f4f46d92cac91396ce9e4e523a9f4462a0d5bc5f.tar.bz2
historical-f4f46d92cac91396ce9e4e523a9f4462a0d5bc5f.zip
thx to axxo the ebuild works now (wrapper ok, copies ok)
Diffstat (limited to 'dev-db/xpg')
-rw-r--r--dev-db/xpg/ChangeLog5
-rw-r--r--dev-db/xpg/Manifest4
-rw-r--r--dev-db/xpg/xpg-0.1.ebuild16
3 files changed, 15 insertions, 10 deletions
diff --git a/dev-db/xpg/ChangeLog b/dev-db/xpg/ChangeLog
index ac54f4b60ba2..feca805e9c6e 100644
--- a/dev-db/xpg/ChangeLog
+++ b/dev-db/xpg/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for dev-db/xpg
# Copyright 1999-2004 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-db/xpg/ChangeLog,v 1.2 2004/08/05 13:21:08 sejo Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-db/xpg/ChangeLog,v 1.3 2004/08/05 13:51:26 sejo Exp $
+
+ 05 Aug 2004; <SeJo@gentoo.org> xpg-0.1.ebuild:
+ axxo showed me how the ebuild should be... thx
*xpg-0.1 (05 Aug 2004)
diff --git a/dev-db/xpg/Manifest b/dev-db/xpg/Manifest
index aef06855d026..463945a1988a 100644
--- a/dev-db/xpg/Manifest
+++ b/dev-db/xpg/Manifest
@@ -1,4 +1,4 @@
-MD5 eae1fc70f5dafb80949839836d0c345b xpg-0.1.ebuild 832
+MD5 a839cb7b1791f581bd2f582391590b47 xpg-0.1.ebuild 924
MD5 a198c5f1913aa4b2b60b0e5cac1bdf64 metadata.xml 412
-MD5 c39375a72c738d7cadb40b31b594d0f6 ChangeLog 370
+MD5 aea039f17dc726b8772579f10313776d ChangeLog 469
MD5 9e2a25c1c9e3a1835b7b7fcfca6ddb4a files/digest-xpg-0.1 123
diff --git a/dev-db/xpg/xpg-0.1.ebuild b/dev-db/xpg/xpg-0.1.ebuild
index 9f89d95683a7..61ed6ca2d758 100644
--- a/dev-db/xpg/xpg-0.1.ebuild
+++ b/dev-db/xpg/xpg-0.1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-db/xpg/xpg-0.1.ebuild,v 1.6 2004/08/05 13:41:34 sejo Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-db/xpg/xpg-0.1.ebuild,v 1.7 2004/08/05 13:51:26 sejo Exp $
inherit java-pkg
DESCRIPTION="GUI for PostgreSQL written in Java"
@@ -18,12 +18,14 @@ src_compile() {
make || die "make problems"
}
src_install () {
- java-pkg_dojar ${S}/bin/*.jar
- dodir /usr/bin/
- dodir /usr/share/xpg
- cp -Rdp ${S}/bin/xpg ${D}/usr/bin/
- cp -Rdp ${S}/styles ${D}/usr/share/xpg/
+ 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 ${S}/doc/*
+ dohtml -r doc/*
+
+ echo -e "#!/bin/bash\nexport XPG_HOME=/usr/share/xpg\njava -Dxpghome=\${XPG_HOME} -jar \${XPG_HOME}/lib/xpg.jar" > xpg
+ dobin xpg
}