blob: cc4e5399933c0211e7888b2437f034ab5ce1130a (
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
35
|
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/ksimus/ksimus-0.3.6-r1.ebuild,v 1.5 2005/08/30 14:41:01 metalgod Exp $
inherit kde eutils
MY_PATCH="ksimus-patch-0.3.6-2"
DESCRIPTION="KSimus is a KDE tool for simulation, automatization and visualization of technical processes."
HOMEPAGE="http://ksimus.berlios.de/"
SRC_URI="http://ksimus.berlios.de/download/ksimus-3-${PV}.tar.gz
http://ksimus.berlios.de/download/${MY_PATCH}.gz
mirror://gentoo/${P}-gcc3.4.patch.bz2
http://dev.gentoo.org/~phosphan/${P}-gcc3.4.patch.bz2"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~ppc ~sparc x86"
IUSE=""
DEPEND=">=sys-apps/sed-4
sys-devel/autoconf"
RDEPEND=""
need-kde 3
src_unpack() {
unpack ${A}
cd ${S}
epatch ../${MY_PATCH}
epatch ../${P}-gcc3.4.patch
sed -i 's/head -\([1-9]\)/head -n \1/g' acinclude.m4 aclocal.m4 configure \
admin/acinclude.m4.in admin/cvs.sh admin/libtool.m4.in
# does not really need arts
sed -e 's/.*MISSING_ARTS_ERROR(.*//' -i admin/acinclude.m4.in
make -f Makefile.dist # configure.in.in was patched
}
|