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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.6 - (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.5: +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.2.1.ebuild,v 1.5 2012/07/23 07:11: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.gentooexperimental.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 threads"
20
21 RDEPEND="
22 sci-libs/minuit
23 atlas? ( sci-libs/blas-atlas )"
24 DEPEND="${RDEPEND}"
25
26 S="${WORKDIR}"/${PN}R3
27
28 src_prepare() {
29 epatch \
30 "${FILESDIR}"/${PV}-shared.patch \
31 "${FILESDIR}"/${PV}-minuit2.patch \
32 "${FILESDIR}"/${PV}-gcc4.4.patch \
33 "${FILESDIR}"/${PV}-gcc4.6.patch \
34 "${FILESDIR}"/${PV}-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 threads)
44 }
45
46 src_install() {
47 dolib.so lib/*.so* || die "install failed"
48
49 insinto /usr/include/${PN}R3
50 doins include/* || die "no includes"
51
52 dodoc CHANGES docs/* || die "no docs"
53 }

  ViewVC Help
Powered by ViewVC 1.1.20