You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
60 lines
1.2 KiB
60 lines
1.2 KiB
8 years ago
|
# Copyright 1999-2016 Gentoo Foundation
|
||
13 years ago
|
# Distributed under the terms of the GNU General Public License v2
|
||
|
|
||
8 years ago
|
EAPI=6
|
||
13 years ago
|
|
||
8 years ago
|
inherit autotools
|
||
13 years ago
|
|
||
|
MY_P="${PN}${PV}_lite"
|
||
|
|
||
|
DESCRIPTION="lite version of pNMRsim"
|
||
|
HOMEPAGE="http://www.dur.ac.uk/paul.hodgkinson/pNMRsim/"
|
||
9 years ago
|
SRC_URI="https://dev.gentoo.org/~jlec/distfiles/${P}.tar.gz"
|
||
13 years ago
|
|
||
12 years ago
|
LICENSE="all-rights-reserved"
|
||
13 years ago
|
SLOT="0"
|
||
|
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
|
||
10 years ago
|
IUSE="cpu_flags_x86_sse threads"
|
||
13 years ago
|
|
||
12 years ago
|
RDEPEND="sci-libs/minuit"
|
||
13 years ago
|
DEPEND="${RDEPEND}"
|
||
|
|
||
12 years ago
|
RESTRICT=mirror
|
||
|
|
||
8 years ago
|
S="${WORKDIR}/${PN}R3"
|
||
13 years ago
|
|
||
8 years ago
|
DOCS=( CHANGES docs/cmatrix.pdf )
|
||
12 years ago
|
PATCHES=(
|
||
8 years ago
|
"${FILESDIR}/${PN}-3.11.0-shared.patch"
|
||
|
"${FILESDIR}/${PN}-3.2.1-minuit2.patch"
|
||
|
"${FILESDIR}/${PN}-3.2.1-gcc4.4.patch"
|
||
|
"${FILESDIR}/${PN}-3.2.1-gcc4.6.patch"
|
||
|
"${FILESDIR}/${PN}-3.2.1-gcc4.7.patch"
|
||
|
"${FILESDIR}/${PN}-3.9.0-atlas.patch"
|
||
|
"${FILESDIR}/${PN}-3.11.0-gcc5.2.patch"
|
||
|
"${FILESDIR}/${PN}-3.11.0-fix-c++14.patch"
|
||
|
)
|
||
|
|
||
|
src_prepare() {
|
||
|
default
|
||
|
eautoreconf
|
||
|
}
|
||
13 years ago
|
|
||
|
src_configure() {
|
||
|
econf \
|
||
|
--with-minuit \
|
||
12 years ago
|
--without-atlas \
|
||
|
--with-sysroot="${EROOT}" \
|
||
10 years ago
|
$(use_with cpu_flags_x86_sse sse) \
|
||
13 years ago
|
$(use_with threads)
|
||
|
}
|
||
|
|
||
|
src_install() {
|
||
12 years ago
|
dolib.so lib/*.so*
|
||
13 years ago
|
|
||
|
insinto /usr/include/${PN}R3
|
||
8 years ago
|
doins -r include/.
|
||
13 years ago
|
|
||
8 years ago
|
einstalldocs
|
||
13 years ago
|
}
|