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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.8 - (show annotations) (download)
Thu Jan 29 21:31:07 2015 UTC (4 years, 8 months ago) by mgorny
Branch: MAIN
CVS Tags: HEAD
Changes since 1.7: +4 -4 lines
Switch to CPU_FLAGS_X86.

(Portage version: 2.2.15/cvs/Linux x86_64, signed Manifest commit with key EFB4464E!)

1 # Copyright 1999-2015 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.11.0.ebuild,v 1.7 2013/05/20 16:28:04 jlec Exp $
4
5 EAPI=5
6
7 AUTOTOOLS_AUTORECONF=true
8
9 inherit autotools-utils
10
11 MY_P="${PN}${PV}_lite"
12
13 DESCRIPTION="lite version of pNMRsim"
14 HOMEPAGE="http://www.dur.ac.uk/paul.hodgkinson/pNMRsim/"
15 #SRC_URI="${HOMEPAGE}/${MY_P}.tar.gz"
16 SRC_URI="http://dev.gentoo.org/~jlec/distfiles/${P}.tar.gz"
17
18 LICENSE="all-rights-reserved"
19 SLOT="0"
20 KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
21 IUSE="cpu_flags_x86_sse threads"
22
23 RDEPEND="sci-libs/minuit"
24 DEPEND="${RDEPEND}"
25
26 RESTRICT=mirror
27
28 S="${WORKDIR}"/${PN}R3
29
30 PATCHES=(
31 "${FILESDIR}"/${PV}-shared.patch
32 "${FILESDIR}"/3.2.1-minuit2.patch
33 "${FILESDIR}"/3.2.1-gcc4.4.patch
34 "${FILESDIR}"/3.2.1-gcc4.6.patch
35 "${FILESDIR}"/3.2.1-gcc4.7.patch
36 "${FILESDIR}"/3.9.0-atlas.patch
37 )
38
39 AUTOTOOLS_IN_SOURCE_BUILD=1
40
41 src_configure() {
42 econf \
43 --with-minuit \
44 --without-atlas \
45 --with-sysroot="${EROOT}" \
46 $(use_with cpu_flags_x86_sse sse) \
47 $(use_with threads)
48 }
49
50 src_install() {
51 dolib.so lib/*.so*
52
53 insinto /usr/include/${PN}R3
54 doins include/*
55
56 dodoc CHANGES docs/*
57 }

  ViewVC Help
Powered by ViewVC 1.1.20