diff options
author | Jochen Maes <sejo@gentoo.org> | 2004-08-05 13:51:26 +0000 |
---|---|---|
committer | Jochen Maes <sejo@gentoo.org> | 2004-08-05 13:51:26 +0000 |
commit | 376d2d27a0f8fc73f4c1835dad4d673ecf9ffc99 (patch) | |
tree | aaef89c55b03c0bd9d0a54344d24c687a5032c5e /dev-db/xpg | |
parent | removed hardcopy to /usr/* (Manifest recommit) (diff) | |
download | gentoo-2-376d2d27a0f8fc73f4c1835dad4d673ecf9ffc99.tar.gz gentoo-2-376d2d27a0f8fc73f4c1835dad4d673ecf9ffc99.tar.bz2 gentoo-2-376d2d27a0f8fc73f4c1835dad4d673ecf9ffc99.zip |
thx to axxo the ebuild works now (wrapper ok, copies ok)
Diffstat (limited to 'dev-db/xpg')
-rw-r--r-- | dev-db/xpg/ChangeLog | 5 | ||||
-rw-r--r-- | dev-db/xpg/xpg-0.1.ebuild | 16 |
2 files changed, 13 insertions, 8 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/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 } |