Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 277849 | Differences between
and this patch

Collapse All | Expand All

(-)blas-reference-20070226.ebuild.orig (-3 / +7 lines)
Lines 2-8 Link Here
2
# Distributed under the terms of the GNU General Public License v2
2
# Distributed under the terms of the GNU General Public License v2
3
# $Header: /var/cvsroot/gentoo-x86/sci-libs/blas-reference/blas-reference-20070226.ebuild,v 1.18 2008/12/07 18:26:29 vapier Exp $
3
# $Header: /var/cvsroot/gentoo-x86/sci-libs/blas-reference/blas-reference-20070226.ebuild,v 1.18 2008/12/07 18:26:29 vapier Exp $
4
4
5
inherit eutils autotools fortran multilib flag-o-matic
5
inherit eutils autotools fortran multilib flag-o-matic prefix
6
6
7
LAPACKPV="3.1.1"
7
LAPACKPV="3.1.1"
8
LAPACKPN="lapack-lite"
8
LAPACKPN="lapack-lite"
Lines 41-54 Link Here
41
41
42
src_compile() {
42
src_compile() {
43
	econf \
43
	econf \
44
		--libdir=/usr/$(get_libdir)/blas/reference \
44
		--libdir=${EPREFIX}/usr/$(get_libdir)/blas/reference \
45
		|| die "econf failed"
45
		|| die "econf failed"
46
	emake LDFLAGS="${LDFLAGS}" || die "emake failed"
46
	emake LDFLAGS="${LDFLAGS}" || die "emake failed"
47
}
47
}
48
48
49
src_install() {
49
src_install() {
50
	emake DESTDIR="${D}" install || die "emake install failed"
50
	emake DESTDIR="${D}" install || die "emake install failed"
51
	eselect blas add $(get_libdir) "${FILESDIR}"/eselect.blas.reference ${ESELECT_PROF}
51
	cd "${T}"
52
	cp "${FILESDIR}"/eselect.blas.reference .
53
	epatch "${FILESDIR}"/eselect.blas.reference.patch
54
	eprefixify eselect.blas.reference
55
	eselect blas add $(get_libdir) eselect.blas.reference ${ESELECT_PROF}
52
}
56
}
53
57
54
pkg_postinst() {
58
pkg_postinst() {

Return to bug 277849