# 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_beta1.ebuild,v 1.3 2005/04/11 12:28:33 luckyduck Exp $ inherit eutils 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" SLOT="0" LICENSE="GPL-2" KEYWORDS="x86 amd64" IUSE="debug" DEPEND="media-libs/xine-lib" need-kde 3.1 src_unpack() { unpack ${A} cd ${S} epatch ${FILESDIR}/${PN}-xine-lib-1.0.patch } src_compile(){ local myconf="" use debug && myconf="${myconf} --debug" ./configure $myconf || die "bla" emake } src_install() { make INSTALL_ROOT="${D}" install || die "make install failed" dodoc README }