summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'x11-misc/karamba/karamba-0.17-r2.ebuild')
-rw-r--r--x11-misc/karamba/karamba-0.17-r2.ebuild26
1 files changed, 8 insertions, 18 deletions
diff --git a/x11-misc/karamba/karamba-0.17-r2.ebuild b/x11-misc/karamba/karamba-0.17-r2.ebuild
index 84209ec22119..0016cb0969cc 100644
--- a/x11-misc/karamba/karamba-0.17-r2.ebuild
+++ b/x11-misc/karamba/karamba-0.17-r2.ebuild
@@ -1,12 +1,13 @@
-# Copyright 1999-2005 Gentoo Foundation
+# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/x11-misc/karamba/karamba-0.17-r2.ebuild,v 1.4 2005/11/02 19:44:18 nelchael Exp $
+# $Header: /var/cvsroot/gentoo-x86/x11-misc/karamba/karamba-0.17-r2.ebuild,v 1.5 2007/02/05 10:26:34 flameeyes Exp $
inherit kde eutils
DESCRIPTION="A KDE program that displays a lot of various information right on your desktop."
HOMEPAGE="http://www.efd.lth.se/~d98hk/karamba/"
-SRC_URI="http://www.efd.lth.se/~d98hk/karamba/src/${P}.tar.gz"
+SRC_URI="http://www.efd.lth.se/~d98hk/karamba/src/${P}.tar.gz
+ mirror://gentoo/kde-admindir-3.5.5.tar.bz2"
SLOT="0"
LICENSE="GPL-2"
@@ -15,24 +16,13 @@ IUSE=""
need-kde 3.1
-src_unpack() {
- kde_src_unpack
- epatch ${FILESDIR}/${P}-configure-arts.patch
-}
-
-src_compile() {
- local myconf="--enable-libsuffix="
-
- kde_src_compile all
-}
-
src_install () {
- emake DESTDIR=${D} install || die "install failed"
+ kde_src_install
+
dodir /usr/share/doc/${P} /usr/share/karamba/themes /usr/share/karamba/bin
- mv ${D}/usr/share/doc/* ${D}/usr/share/doc/${P}
+ mv "${D}"/usr/share/doc/* "${D}/usr/share/doc/${P}"
keepdir /usr/share/karamba/themes/.keep
keepdir /usr/share/karamba/bin/.keep
- dodir /etc/env.d
- cp ${FILESDIR}/karamba-env ${D}/etc/env.d/99karamba
+ newenvd "${FILESDIR}/karamba-env" 99karamba
}