summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2010-09-20 18:26:43 +0000
committerHans de Graaff <graaff@gentoo.org>2010-09-20 18:26:43 +0000
commite273f1ad35e3c996e498cae4e873af323475ca71 (patch)
treea624bb1570f361a483e75972fb3ff82c768eee25 /dev-db/mysql-workbench/mysql-workbench-5.2.28.ebuild
parentpunt .la files too, the only way to use libffi is pkg-config because of the n... (diff)
downloadhistorical-e273f1ad35e3c996e498cae4e873af323475ca71.tar.gz
historical-e273f1ad35e3c996e498cae4e873af323475ca71.tar.bz2
historical-e273f1ad35e3c996e498cae4e873af323475ca71.zip
Version bump.
Package-Manager: portage-2.1.8.3/cvs/Linux x86_64
Diffstat (limited to 'dev-db/mysql-workbench/mysql-workbench-5.2.28.ebuild')
-rw-r--r--dev-db/mysql-workbench/mysql-workbench-5.2.28.ebuild68
1 files changed, 68 insertions, 0 deletions
diff --git a/dev-db/mysql-workbench/mysql-workbench-5.2.28.ebuild b/dev-db/mysql-workbench/mysql-workbench-5.2.28.ebuild
new file mode 100644
index 000000000000..5ac53ae7a21c
--- /dev/null
+++ b/dev-db/mysql-workbench/mysql-workbench-5.2.28.ebuild
@@ -0,0 +1,68 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-db/mysql-workbench/mysql-workbench-5.2.28.ebuild,v 1.1 2010/09/20 18:26:43 graaff Exp $
+
+EAPI="2"
+GCONF_DEBUG="no"
+
+inherit gnome2 eutils flag-o-matic autotools
+
+MY_P="${PN}-gpl-${PV}-src"
+
+DESCRIPTION="MySQL Workbench"
+HOMEPAGE="http://dev.mysql.com/workbench/"
+SRC_URI="mirror://mysql/Downloads/MySQLGUITools/${MY_P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="debug nls readline static-libs"
+
+RDEPEND=">=x11-libs/gtk+-2.6
+ dev-libs/glib:2
+ gnome-base/libglade:2.0
+ dev-libs/libsigc++:2
+ dev-libs/boost
+ >=dev-libs/libxml2-2.6.2
+ >=dev-cpp/glibmm-2.14
+ >=dev-cpp/gtkmm-2.14
+ dev-libs/libzip
+ >=virtual/mysql-5.1
+ dev-libs/libpcre
+ virtual/opengl
+ >=dev-lang/lua-5.1[deprecated]
+ gnome-base/libgnome
+ x11-libs/pango
+ || ( sys-libs/e2fsprogs-libs
+ dev-libs/ossp-uuid )
+ >=x11-libs/cairo-1.5.12[svg]
+ dev-python/pexpect
+ dev-python/paramiko
+ readline? ( sys-libs/readline )"
+DEPEND="${RDEPEND}
+ >=dev-cpp/ctemplate-0.95
+ dev-util/pkgconfig"
+
+S="${WORKDIR}"/"${MY_P}"
+
+src_prepare() {
+ epatch "${FILESDIR}/${PN}-5.2.17-python-libs.patch"
+ epatch "${FILESDIR}/${PN}-5.2.17-as-needed-modules.patch"
+ eautoreconf
+
+ # Remove bundled ctemplate version to make sure we use the system version.
+ rm -rf ext/ctemplate || die
+}
+
+src_configure() {
+ econf \
+ $(use_enable nls i18n) \
+ $(use_enable readline readline) \
+ $(use_enable debug) \
+ $(use_enable static-libs static)
+}
+
+src_install() {
+ emake install DESTDIR="${D}" || die
+ find "${D}" -name '*.la' -delete || die
+}