# Copyright 1999-2008 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ inherit eutils DESCRIPTION="Qt Development Environment" HOMEPAGE="http://www.edyuk.org" MY_P="${PN}-${PV/_rc1/-rc1}" SRC_URI="mirror://sourceforge/edyuk/${MY_P}.tar.gz" LICENSE="GPL-2" SLOT="0" KEYWORDS="~x86 ~amd64" IUSE="" DEPEND=">=x11-libs/qt-4.3.0" RDEPEND="${DEPEND}" S="${WORKDIR}/${MY_P}" src_unpack() { unpack ${A} cd "${S}" epatch ${FILESDIR}/edyukstart.patch } src_compile() { qmake || die "qmake failed" emake -j1 || die "emake failed" # to ensure the install target can locate all created binaries qmake || die "second run qmake failed" } src_install() { emake INSTALL_ROOT="${D}" install || die "emake install" dosym /usr/edyuk/edyuk /usr/bin/edyuk }