# Copyright 1999-2006 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/x11-misc/evolvotron/evolvotron-0.3.1.ebuild,v 1.5 2006/02/16 16:39:32 nelchael Exp $ inherit qt3 DESCRIPTION="An interactive generative art application" HOMEPAGE="http://www.bottlenose.demon.co.uk/share/evolvotron/index.htm" SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" LICENSE="GPL-2" SLOT="0" KEYWORDS="x86 ~amd64 ~ppc" IUSE="" DEPEND="$(qt_min_version 3)" S="${WORKDIR}/${PN}" src_unpack() { unpack ${A} sed -i \ -e '/QMAKE_CXXFLAGS_RELEASE .*march/d' \ -e "/^QMAKE_CXXFLAGS_RELEASE += -O3/ s:=.*:= ${CXXFLAGS}:" \ -e '/^INSTALLPATH/ s:=.*:= /usr/bin:' ${S}/common.pro \ || die "sed common.pro failed" } src_compile() { export PATH=${QTDIR}/bin:${PATH} econf fs || die emake -j1 || die "emake failed" } src_install() { make INSTALL_ROOT="${D}" install || die "make install failed" dodoc BUGS CHANGES README TODO USAGE }