summaryrefslogtreecommitdiff
blob: a24b3cabedb4b61c33cf8d28ce684fbde98e8b21 (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-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/media-video/codeine/codeine-1.0_beta3.ebuild,v 1.1 2005/04/14 09:46:20 greg_g Exp $

inherit kde

MY_P=${P/_/-}
S=${WORKDIR}/${MY_P}

DESCRIPTION="Simple KDE frontend for xine-lib."
HOMEPAGE="http://kde-apps.org/content/show.php?content=17161"
SRC_URI="http://www.methylblue.com/codeine/${MY_P}.tar.bz2"
LICENSE="GPL-2"

SLOT="0"
KEYWORDS="~x86 ~amd64"
IUSE="debug"

DEPEND="media-libs/xine-lib"

need-kde 3.2

src_compile(){
	local myconf=""
	use debug && myconf="${myconf} --debug"

	./configure ${myconf} || die "configure failed"
	emake || die "make failed"
}

src_install() {
	make INSTALL_ROOT="${D}" install || die "make install failed"
	dodoc README ChangeLog
}