summaryrefslogtreecommitdiff
blob: d1b993144036962d2f079af20e2a61ed7dbb2e4f (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
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/kde-base/kalyptus/kalyptus-3.5.10.ebuild,v 1.7 2009/10/12 05:32:53 abcd Exp $

EAPI="1"
KMNAME=kdebindings
KM_MAKEFILESREV=1
inherit kde-meta

DESCRIPTION="KDE bindings generator for multiple languages."
KEYWORDS="~alpha amd64 ~hppa ~ia64 ppc ppc64 ~sparc x86"
IUSE=""
DEPEND="dev-lang/perl"

PATCHES=( "${FILESDIR}/kalyptus-3.5.9-fix_makefile.patch" )

MY_S="${WORKDIR}/${P}/${PN}"

# Weird build system, weirder errors.
# You're welcome to fix this in a better way --danarmak
# Still weird, but changed. :)
src_compile () {
	S="${MY_S}"
	cd "${S}"
	emake -f Makefile.cvs
	./configure --prefix=$(kde-config --prefix)
	emake
}

src_install() {
	S="${MY_S}"
	cd "${S}"
	emake install DESTDIR="$D"
}