Lines 2-7
Link Here
|
2 |
# Distributed under the terms of the GNU General Public License v2 |
2 |
# Distributed under the terms of the GNU General Public License v2 |
3 |
# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/euler/euler-1.61.0.ebuild,v 1.1 2006/01/18 08:14:16 spyderous Exp $ |
3 |
# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/euler/euler-1.61.0.ebuild,v 1.1 2006/01/18 08:14:16 spyderous Exp $ |
4 |
|
4 |
|
|
|
5 |
inherit eutils |
6 |
|
5 |
DESCRIPTION="Mathematical programming environment" |
7 |
DESCRIPTION="Mathematical programming environment" |
6 |
HOMEPAGE="http://euler.sourceforge.net/" |
8 |
HOMEPAGE="http://euler.sourceforge.net/" |
7 |
SRC_URI="mirror://sourceforge/euler/${P}.tgz" |
9 |
SRC_URI="mirror://sourceforge/euler/${P}.tgz" |
Lines 11-16
Link Here
|
11 |
IUSE="" |
13 |
IUSE="" |
12 |
DEPEND=">=x11-libs/gtk+-2" |
14 |
DEPEND=">=x11-libs/gtk+-2" |
13 |
|
15 |
|
|
|
16 |
src_unpack() { |
17 |
unpack ${A} |
18 |
cd "${S}" |
19 |
|
20 |
epatch "${FILESDIR}"/configure-gentoo.patch |
21 |
epatch "${FILESDIR}"/command-gcc4-gentoo.patch |
22 |
|
23 |
# regenerate configure and Makefiles |
24 |
autoconf || die "autoconf failed" |
25 |
aclocal || die "aclocal failed" |
26 |
automake || die "automake failed" |
27 |
|
28 |
sed -e 's:g77:g77 gfortran:g' -i ./configure || \ |
29 |
die "Failed to patch configure" |
30 |
} |
31 |
|
32 |
|
14 |
src_install() { |
33 |
src_install() { |
15 |
make DESTDIR="${D}" install || die "install failed" |
34 |
make DESTDIR="${D}" install || die "install failed" |
16 |
} |
35 |
} |