summaryrefslogtreecommitdiff
blob: e0ca19fd2e57e079f6bd4e35e982b76cec995579 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/ksimus-floatingpoint/ksimus-floatingpoint-0.3.6.ebuild,v 1.3 2005/08/09 13:20:43 phosphan Exp $

inherit kde eutils fixheadtails

MYPATCH="${PN}-${PV}-namespaces.patch"
HOMEPAGE="http://ksimus.berlios.de/"
DESCRIPTION="The package Floating Point contains some floating point related components for KSimus."
KEYWORDS="x86"
SRC_URI="http://ksimus.berlios.de/download/${PN}-3-${PV}.tar.gz
		mirror://gentoo/${MYPATCH}.bz2
		http://dev.gentoo.org/~phosphan/${MYPATCH}.bz2"

LICENSE="GPL-2"
IUSE=""
SLOT="0"

DEPEND="sci-mathematics/ksimus"

need-kde 3

src_unpack() {
	unpack ${A}
	unpack ${MYPATCH}.bz2
	cd ${S}
	epatch ${WORKDIR}/${MYPATCH}
	ht_fix_file acinclude.m4 aclocal.m4 configure \
			admin/acinclude.m4.in admin/cvs.sh admin/libtool.m4.in

	sed -e 's/.*MISSING_ARTS_ERROR(.*//' -i admin/acinclude.m4.in || \
			die "could not remove ARTS check"
	make -f Makefile.dist
}