# Copyright 1999-2006 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ #inherit eutil MY_P="${P}-src" DESCRIPTION="A database administration gui tool for Firebird DBMS" HOMEPAGE="http://www.flamerobin.org/" SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.gz" LICENSE="GPL-2" SLOT="0" KEYWORDS="~x86" IUSE="doc" RDEPEND=">=x11-libs/wxGTK" DEPEND="${RDEPEND}" S="${WORKDIR}/${MY_P}" src_compile() { local myconf econf --disable-shared --disable-debug --with-wx=yes || die "Could not configure ${P}." emake || die "Error during make ${P}." } src_install() { make DESTDIR=${D} install || die "Could not install ${P}." insinto /usr/share/pixmaps newins ${S}/res/fricon.xpm fricon.xpm insinto /usr/share/applications doins ${FILESDIR}/FlameRobin.desktop dodoc README.txt use doc && dodoc devdocs docs docs-src }