summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMasatomo Nakano <nakano@gentoo.org>2005-05-09 00:32:26 +0000
committerMasatomo Nakano <nakano@gentoo.org>2005-05-09 00:32:26 +0000
commit166c79e07e6f6cff49831c11760de440b2bc2514 (patch)
tree28a817a3505a76846e7b9e86dbeac87a68ae31f3 /dev-db/pgst/pgst-1.3.ebuild
parentAdded depended libpq version. (diff)
downloadhistorical-166c79e07e6f6cff49831c11760de440b2bc2514.tar.gz
historical-166c79e07e6f6cff49831c11760de440b2bc2514.tar.bz2
historical-166c79e07e6f6cff49831c11760de440b2bc2514.zip
Version bump
Package-Manager: portage-2.0.51.21-r1
Diffstat (limited to 'dev-db/pgst/pgst-1.3.ebuild')
-rw-r--r--dev-db/pgst/pgst-1.3.ebuild51
1 files changed, 51 insertions, 0 deletions
diff --git a/dev-db/pgst/pgst-1.3.ebuild b/dev-db/pgst/pgst-1.3.ebuild
new file mode 100644
index 000000000000..4c06e50076c1
--- /dev/null
+++ b/dev-db/pgst/pgst-1.3.ebuild
@@ -0,0 +1,51 @@
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-db/pgst/pgst-1.3.ebuild,v 1.1 2005/05/09 00:32:26 nakano Exp $
+
+inherit gnome2
+
+DESCRIPTION="An intuitive GUI (GTK-based) for PostgreSQL management"
+HOMEPAGE="http://www.sourceforge.net/projects/pgst/"
+SRC_URI="mirror://sourceforge/pgst/${P}.tar.gz"
+
+LICENSE="Artistic"
+SLOT="0"
+KEYWORDS="~x86 ~amd64"
+IUSE=""
+
+DEPEND="dev-db/libpq"
+
+RDEPEND="${DEPEND}
+ dev-util/glade
+ dev-python/pygtk"
+
+S="${WORKDIR}/pgst/pgst"
+
+src_unpack() {
+ unpack ${A}
+ cd ${WORKDIR}/pgst
+ tar -xpf setup.tar
+ sed -i -e 's/python2\.2/python/g;' pgst/pgst.py* || die
+ sed -i -e 's:cd .*:cd /usr/share/pgst:g;' pgst/pgst.sh || die
+}
+
+src_compile() {
+ :
+}
+
+src_install() {
+ dobin pgst.sh
+
+ dosym /usr/bin/pgst.sh /usr/bin/pgst
+
+ insinto /usr/share/pgst
+ doins pgst.glade pgst.py
+
+ insinto /usr/share/pgst/pixmaps
+ doins pixmaps/*
+
+ dodoc *.txt
+
+ insinto /usr/share/applications
+ newins ${FILESDIR}/${P}.desktop ${PN}.desktop
+}