blob: cd200bb6a3dd9bc7788bab870d958eb1d7db6c4b (
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
36
37
38
39
40
41
42
|
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
inherit eutils autotools
DESCRIPTION="Freemat is a free environment for rapid engineering and scientific prototyping and data processing"
HOMEPAGE="http://freemat.sourceforge.net/"
MY_PN=FreeMat
MY_P="${MY_PN}-${PV}"
#### delete the next line when moving this ebuild to the main tree!
RESTRICT="nomirror"
SRC_URI="mirror://sourceforge/freemat/${MY_P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~x86"
DEPEND=">=sys-libs/ncurses-5.4-r5 virtual/blas virtual/lapack dev-libs/ffcall\
sci-libs/umfpack sci-libs/arpack >=x11-libs/qt-4.2"
S=${WORKDIR}/${MY_P}
src_unpack() {
unpack ${A}
cd ${S}
epatch "${FILESDIR}/${PN}-${PV}.patch"
}
src_compile() {
eautoconf
econf || die "econf failed"
emake || die "emake failed"
}
src_install() {
make DESTDIR="${D}" install || die "install failed"
dodoc README AUTHORS ChangeLog
}
|