summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan Armak <danarmak@gentoo.org>2002-04-03 09:03:54 +0000
committerDan Armak <danarmak@gentoo.org>2002-04-03 09:03:54 +0000
commitfd8c115e14947419cb955411c99d9da5f36c297a (patch)
tree9970012bf9a3c158a9c6b541e485f1d8311cee21 /app-cdr
parentupdate to 0.8, dep update, removed two old ebuilds (diff)
downloadgentoo-2-fd8c115e14947419cb955411c99d9da5f36c297a.tar.gz
gentoo-2-fd8c115e14947419cb955411c99d9da5f36c297a.tar.bz2
gentoo-2-fd8c115e14947419cb955411c99d9da5f36c297a.zip
makefile fixes for compiling and installing. will write to the author.
Diffstat (limited to 'app-cdr')
-rw-r--r--app-cdr/k3b/k3b-0.6.0_pre2.ebuild24
1 files changed, 23 insertions, 1 deletions
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 <verwilst@gentoo.org>
-# $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
+
+}