blob: 243f74d069b031dc08f28ef5a609a5a6128ec555 (
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
40
41
42
|
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/x11-misc/evolvotron/evolvotron-0.6.1.ebuild,v 1.1 2009/12/20 19:57:52 ssuominen Exp $
EAPI=2
inherit qt4
DESCRIPTION="Generative art image evolver"
HOMEPAGE="http://sourceforge.net/projects/evolvotron/"
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~ppc ~x86 ~x86-fbsd"
IUSE=""
RDEPEND="x11-libs/qt-gui:4"
DEPEND="${RDEPEND}
dev-lang/python
dev-libs/boost"
S=${WORKDIR}/${PN}
src_configure() {
eqmake4 main.pro
}
src_compile() {
./text_to_markup.py -html < USAGE > evolvotron.html
./text_to_markup.py -qml -s < USAGE > libevolvotron/usage_text.h
emake -j1 || die
}
src_install() {
for bin in ${PN}{,_mutate,_render}; do
dobin ${bin}/${bin} || die
done
doman man/man1/*
dodoc BUGS CHANGES README TODO USAGE
dohtml *.html
}
|