| 1 |
# Copyright 1999-2009 Gentoo Foundation
|
| 2 |
# Distributed under the terms of the GNU General Public License v2
|
| 3 |
# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/koctave/koctave-0.65-r1.ebuild,v 1.10 2009/09/23 20:10:55 patrick Exp $
|
| 4 |
|
| 5 |
EAPI="1"
|
| 6 |
|
| 7 |
inherit kde
|
| 8 |
|
| 9 |
DESCRIPTION="A KDE GUI for Octave numerical computing system"
|
| 10 |
HOMEPAGE="http://athlone.ath.cx/~matti/kde/koctave/"
|
| 11 |
SRC_URI="http://athlone.ath.cx/~matti/kde/koctave/${PN}3-${PV}.tar.bz2
|
| 12 |
mirror://gentoo/koctave-docs-20050605.tar.bz2"
|
| 13 |
|
| 14 |
SLOT="0"
|
| 15 |
LICENSE="GPL-2"
|
| 16 |
KEYWORDS="amd64 ~ppc ~sparc x86"
|
| 17 |
IUSE="arts"
|
| 18 |
|
| 19 |
DEPEND="sci-mathematics/octave
|
| 20 |
|| ( kde-base/konsole:3.5 kde-base/kdebase:3.5 )"
|
| 21 |
|
| 22 |
S="${WORKDIR}"/${PN}3-${PV}
|
| 23 |
|
| 24 |
need-kde 3.5
|
| 25 |
|
| 26 |
src_unpack() {
|
| 27 |
kde_src_unpack
|
| 28 |
epatch "${FILESDIR}"/${P}-desktop-entry-fix.patch
|
| 29 |
use arts || epatch "${FILESDIR}"/${P}-arts-configure.patch
|
| 30 |
}
|
| 31 |
|
| 32 |
src_install() {
|
| 33 |
kde_src_install
|
| 34 |
dohtml "${WORKDIR}"/docs/*
|
| 35 |
}
|