From fd8c115e14947419cb955411c99d9da5f36c297a Mon Sep 17 00:00:00 2001 From: Dan Armak Date: Wed, 3 Apr 2002 09:03:54 +0000 Subject: makefile fixes for compiling and installing. will write to the author. --- app-cdr/k3b/k3b-0.6.0_pre2.ebuild | 24 +++++++++++++++++++++++- 1 file changed, 23 insertions(+), 1 deletion(-) (limited to 'app-cdr') diff --git a/app-cdr/k3b/k3b-0.6.0_pre2.ebuild b/app-cdr/k3b/k3b-0.6.0_pre2.ebuild index 406e8f45b8fb..8ad2b044202b 100644 --- a/app-cdr/k3b/k3b-0.6.0_pre2.ebuild +++ b/app-cdr/k3b/k3b-0.6.0_pre2.ebuild @@ -1,7 +1,7 @@ # Copyright 1999-2002 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 # Author Bart Verwilst -# $Header: /var/cvsroot/gentoo-x86/app-cdr/k3b/k3b-0.6.0_pre2.ebuild,v 1.2 2002/04/02 23:09:48 danarmak Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-cdr/k3b/k3b-0.6.0_pre2.ebuild,v 1.3 2002/04/03 09:03:54 danarmak Exp $ . /usr/portage/eclass/inherit.eclass || die inherit kde-base || die @@ -20,3 +20,25 @@ newdepend ">=media-sound/mpg123-0.59 >=media-sound/mad-0.14.2b-r1 media-video/transcode media-libs/libvorbis" + +src_compile() { + + kde_src_compile myconf configure + + cd ${S} + for x in Makefile src/Makefile; do + mv $x $x.orig + sed -e 's:CDPARANOIA_LIBS = =:CDPARANOIA_LIBS = -lcdda_interface -lcdda_paranoia:' $x.orig > $x + done + + kde_src_compile make + +} + +src_install() { + + dodir ${KDEDIR}/share/apps/k3b/pics + + kde_src_install + +} -- cgit v1.2.3-65-gdbad