summaryrefslogtreecommitdiff
blob: ea902c67ea3eb0f1748d257f252f8ea9be3abb41 (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
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/x11-misc/e16keyedit/e16keyedit-0.2.ebuild,v 1.23 2006/03/31 03:20:31 vapier Exp $

inherit eutils toolchain-funcs

DESCRIPTION="Key binding editor for enlightenment 16"
HOMEPAGE="http://www.enlightenment.org/"
SRC_URI="mirror://sourceforge/enlightenment/e16utils/${P}.tar.gz"

LICENSE="as-is"
SLOT="0"
KEYWORDS="amd64 ppc sparc x86"
IUSE=""

DEPEND="<x11-wm/enlightenment-0.16.8
	=x11-libs/gtk+-1*"

src_unpack() {
	unpack ${A}
	cd "${S}"
	sed -i 's:-lgdbm -lgdk_imlib::' Makefile
	epatch "${FILESDIR}"/${PV}-fullscreen.patch
}

src_compile() {
	emake CC="$(tc-getCC)" EXTRA_CFLAGS="${CFLAGS}" || die
}

src_install() {
	dobin e16keyedit || die
	dodoc README ChangeLog AUTHORS
}