diff options
author | Patrick Lauer <patrick@gentoo.org> | 2013-10-21 04:00:33 +0000 |
---|---|---|
committer | Patrick Lauer <patrick@gentoo.org> | 2013-10-21 04:00:33 +0000 |
commit | 1a3cbe2b4b1e5ac9effb56aa3947439d4e7fccf9 (patch) | |
tree | fde0c2ad108b49ef711ada28412698714d2770fa /dev-db/pgadmin3 | |
parent | version bump (diff) | |
download | gentoo-2-1a3cbe2b4b1e5ac9effb56aa3947439d4e7fccf9.tar.gz gentoo-2-1a3cbe2b4b1e5ac9effb56aa3947439d4e7fccf9.tar.bz2 gentoo-2-1a3cbe2b4b1e5ac9effb56aa3947439d4e7fccf9.zip |
Bump
(Portage version: 2.2.7/cvs/Linux x86_64, unsigned Manifest commit)
Diffstat (limited to 'dev-db/pgadmin3')
-rw-r--r-- | dev-db/pgadmin3/ChangeLog | 7 | ||||
-rw-r--r-- | dev-db/pgadmin3/pgadmin3-1.18.1.ebuild | 59 |
2 files changed, 65 insertions, 1 deletions
diff --git a/dev-db/pgadmin3/ChangeLog b/dev-db/pgadmin3/ChangeLog index 7b1c9add4d0d..24a153f02e78 100644 --- a/dev-db/pgadmin3/ChangeLog +++ b/dev-db/pgadmin3/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for dev-db/pgadmin3 # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-db/pgadmin3/ChangeLog,v 1.94 2013/09/25 17:37:46 titanofold Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-db/pgadmin3/ChangeLog,v 1.95 2013/10/21 04:00:33 patrick Exp $ + +*pgadmin3-1.18.1 (21 Oct 2013) + + 21 Oct 2013; Patrick Lauer <patrick@gentoo.org> +pgadmin3-1.18.1.ebuild: + Bump *pgadmin3-1.18.0 (25 Sep 2013) diff --git a/dev-db/pgadmin3/pgadmin3-1.18.1.ebuild b/dev-db/pgadmin3/pgadmin3-1.18.1.ebuild new file mode 100644 index 000000000000..90bff78235c1 --- /dev/null +++ b/dev-db/pgadmin3/pgadmin3-1.18.1.ebuild @@ -0,0 +1,59 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-db/pgadmin3/pgadmin3-1.18.1.ebuild,v 1.1 2013/10/21 04:00:33 patrick Exp $ + +EAPI="4" + +WX_GTK_VER="2.8" + +inherit multilib versionator wxwidgets + +DESCRIPTION="wxWidgets GUI for PostgreSQL." +HOMEPAGE="http://www.pgadmin.org/" +SRC_URI="mirror://postgresql/${PN}/release/v${PV}/src/${P}.tar.gz" + +LICENSE="POSTGRESQL" +KEYWORDS="~amd64 ~ppc ~x86 ~x86-fbsd" +SLOT="0" +IUSE="debug +databasedesigner" + +DEPEND="x11-libs/wxGTK:2.8[X,debug=] + >=dev-db/postgresql-base-8.4.0 + >=dev-libs/libxml2-2.6.18 + >=dev-libs/libxslt-1.1" +RDEPEND="${DEPEND}" + +pkg_setup() { + local pgslot=$(postgresql-config show) + + if [[ ${pgslot//.} < 84 ]] ; then + eerror "PostgreSQL slot must be set to 8.4 or higher." + eerror " postgresql-config set 8.4" + die "PostgreSQL slot is not set to 8.4 or higher." + fi +} + +src_prepare() { + epatch "${FILESDIR}/pgadmin3-desktop.patch" +} + +src_configure() { + econf --with-wx-version=2.8 \ + $(use_enable debug) \ + $(use_enable databasedesigner) +} + +src_install() { + emake DESTDIR="${D}" install + + newicon "${S}/pgadmin/include/images/pgAdmin3.png" ${PN}.png + + # icon location for the desktop file provided in pkg folder + insinto /usr/share/pgadmin3 + doins "${S}/pgadmin/include/images/pgAdmin3.png" + + domenu "${S}/pkg/pgadmin3.desktop" + + # Fixing world-writable files + fperms -R go-w /usr/share +} |