summaryrefslogtreecommitdiff
blob: bfab2f5c296d026bd23717bdbc4094170986639c (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
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/gpe-utils/gpe-edit/gpe-edit-0.41.ebuild,v 1.3 2009/07/08 16:21:34 fauli Exp $

GPE_TARBALL_SUFFIX="bz2"
inherit gpe autotools

DESCRIPTION="Editor for the GPE Palmtop Environment"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~arm ~amd64 ~x86"
IUSE="${IUSE}"
RDEPEND="${RDEPEND}
	gpe-base/libgpewidget"

DEPEND="${DEPEND}
	${RDEPEND}"

GPE_DOCS="ChangeLog"

src_unpack() {
	gpe_src_unpack "$@"

	# Angelo Arrifano <miknix@gentoo.org>: Fix access violation
	sed -i -e 's;mimedir = /etc/;mimedir = ${sysconfdir}/;' Makefile.am \
		|| die "sed failed"
	# fixes test suite, see bug 276829
	echo "gpe-edit.desktop.in" >> po/POTFILES.skip || die
	eautoreconf
}