/[gentoo-x86]/sci-libs/libcmatrix/libcmatrix-3.9.0.ebuild
Gentoo

Contents of /sci-libs/libcmatrix/libcmatrix-3.9.0.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.4 - (show annotations) (download)
Thu Dec 20 19:28:49 2012 UTC (6 years, 9 months ago) by jlec
Branch: MAIN
CVS Tags: HEAD
Changes since 1.3: +1 -1 lines
FILE REMOVED
sci-libs/libcmatrix: Drop old and drop atlas support

(Portage version: 2.2.0_alpha149/cvs/Linux x86_64, signed Manifest commit with key 8009D6F070EB7916)

1 # Copyright 1999-2012 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/sci-libs/libcmatrix/libcmatrix-3.9.0.ebuild,v 1.3 2012/06/24 07:43:11 jlec Exp $
4
5 EAPI="3"
6
7 inherit autotools eutils
8
9 MY_P="${PN}${PV}_lite"
10
11 DESCRIPTION="lite version of pNMRsim"
12 HOMEPAGE="http://www.dur.ac.uk/paul.hodgkinson/pNMRsim/"
13 #SRC_URI="${HOMEPAGE}/${MY_P}.tar.gz"
14 SRC_URI="http://dev.gentoo.org/~jlec/distfiles/${P}.tar.gz"
15
16 LICENSE="as-is"
17 SLOT="0"
18 KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
19 IUSE="atlas sse threads"
20
21 RDEPEND="
22 sci-libs/minuit
23 atlas? ( || ( sci-libs/atlas sci-libs/blas-atlas ) )"
24 DEPEND="${RDEPEND}"
25
26 S="${WORKDIR}"/${PN}R3
27
28 src_prepare() {
29 epatch \
30 "${FILESDIR}"/3.2.1-shared.patch \
31 "${FILESDIR}"/3.2.1-minuit2.patch \
32 "${FILESDIR}"/3.2.1-gcc4.4.patch \
33 "${FILESDIR}"/3.2.1-gcc4.6.patch \
34 "${FILESDIR}"/3.2.1-gcc4.7.patch \
35 "${FILESDIR}"/${PV}-atlas.patch
36 eautoreconf
37 }
38
39 src_configure() {
40 econf \
41 --with-minuit \
42 $(use_with atlas) \
43 $(use_with sse) \
44 $(use_with threads)
45 }
46
47 src_install() {
48 dolib.so lib/*.so* || die "install failed"
49
50 insinto /usr/include/${PN}R3
51 doins include/* || die "no includes"
52
53 dodoc CHANGES docs/* || die "no docs"
54 }

  ViewVC Help
Powered by ViewVC 1.1.20