summaryrefslogtreecommitdiff
blob: f2822cb40530d68dbac4653170ae2a2240e77fef (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
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/games-misc/gpe-julia/gpe-julia-0.0.6.ebuild,v 1.1 2009/07/27 15:00:41 miknix Exp $

GPE_TARBALL_SUFFIX="gz"
GPE_MIRROR="http://gpe.linuxtogo.org/download/source"
inherit gpe

DESCRIPTION="A Julia/Mandelbrot set generator for GPE"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~arm ~amd64 ~x86"
IUSE="${IUSE}"

RDEPEND="${RDEPEND}
	gpe-base/libgpewidget"
DEPEND="${DEPEND}
	${RDEPEND}"

src_unpack() {
	gpe_src_unpack "$@"

	sed -i -e s@'#include <gpe/render.h>'@@ "${S}"/main.c

	# miknix: nls is incomplete
	sed -i -e 's;include $(BUILD)/Makefile.translation;;' Makefile

	# miknix: This packages doesn't currrently support autotools
	mv -f gpe-julia.desktop.in gpe-julia.desktop
	sed -i -e 's/^_//' gpe-julia.desktop
}