# Copyright 1999-2010 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ EAPI="2" inherit qt4-r2 MY_PN="mks_${PV}-svn3727" DESCRIPTION="Monkey Studio is a Free and cross platform IDE written in Qt 4." HOMEPAGE="http://www.monkeystudio.org" SRC_URI="http://monkeystudio.googlecode.com/files/${MY_PN}-src.tar.gz" KEYWORDS="~x86 ~amd64" LICENSE="GPL-3" SLOT="0" IUSE="doc" RDEPEND=">=x11-libs/qt-gui-4.4 >=x11-libs/qt-sql-4.4 x11-libs/qscintilla" DEPEND="${RDEPEND} doc? ( >=app-doc/doxygen-1.5.8 )" S="${WORKDIR}/${MY_PN}-src" src_configure() { eqmake4 "build.pro" "prefix=${D}usr" || die "qmake failed" } src_install() { emake DESTDIR="${D}" install || die "Install failed" chmod a+x ${D}usr/bin/monkeystudio use doc && doxygen && dohtml -r doc/html/* }