blob: 404fb28438e625205a9543aefb7211dabc62761d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
|
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/x11-misc/evolvotron/evolvotron-0.4.0.ebuild,v 1.3 2007/08/02 13:12:49 uberlord Exp $
inherit qt3 eutils
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="~amd64 ~ppc x86 ~x86-fbsd"
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"
epatch "${FILESDIR}/${PN}-0.3.1-gcc4.patch"
}
src_compile() {
export PATH=${QTDIR}/bin:${PATH}
econf fs || die
emake -j1 || die "emake failed"
}
src_install() {
emake INSTALL_ROOT="${D}" install || die "emake install failed"
dodoc BUGS CHANGES README TODO USAGE
}
|