summaryrefslogtreecommitdiff
path: root/dev-db/flamerobin/flamerobin-0.9.2.ebuild
diff options
context:
space:
mode:
Diffstat (limited to 'dev-db/flamerobin/flamerobin-0.9.2.ebuild')
-rw-r--r--dev-db/flamerobin/flamerobin-0.9.2.ebuild46
1 files changed, 46 insertions, 0 deletions
diff --git a/dev-db/flamerobin/flamerobin-0.9.2.ebuild b/dev-db/flamerobin/flamerobin-0.9.2.ebuild
new file mode 100644
index 000000000000..7e92ac8b3949
--- /dev/null
+++ b/dev-db/flamerobin/flamerobin-0.9.2.ebuild
@@ -0,0 +1,46 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI="4"
+
+WX_GTK_VER="2.8"
+inherit eutils wxwidgets
+
+DESCRIPTION="A database administration tool for Firebird DBMS"
+HOMEPAGE="http://www.flamerobin.org/"
+SRC_URI="mirror://sourceforge/${PN}/${P}-src.tar.gz"
+
+LICENSE="MIT IBPP-1.1 LGPL-2.1+"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="doc"
+
+RDEPEND="x11-libs/wxGTK:2.8[X]
+ dev-db/firebird"
+
+DEPEND="${RDEPEND}"
+
+S="${WORKDIR}/${P}-src"
+
+src_prepare() {
+ epatch "${FILESDIR}/${P}-gcc46.patch"
+}
+
+src_configure() {
+ # temp hack since configure is not executable
+ chmod +x configure
+
+ local myconf
+ myconf="${myconf} \
+ --disable-shared \
+ --disable-debug \
+ --with-wx=yes \
+ --with-wx-config=${WX_CONFIG}"
+ econf ${myconf}
+}
+
+src_install() {
+ emake DESTDIR="${D}" install
+ dodoc devdocs/* docs/* docs-src/*
+}