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

Collapse All | Expand All

(-)cblas-reference-20030223.ebuild.orig (-11 / +2 lines)
Lines 32-38 Link Here
32
	cd "${S}"/src
32
	cd "${S}"/src
33
33
34
	make all FC="libtool --mode=compile --tag=F77 ${FORTRANC}" \
34
	make all FC="libtool --mode=compile --tag=F77 ${FORTRANC}" \
35
		FFLAGS="${FFLAGS}" CC="libtool --mode=compile --tag=CC gcc" \
35
		FFLAGS="${CFLAGS}" CC="libtool --mode=compile --tag=CC gcc" \
36
		CFLAGS="${CFLAGS} -DADD_" || die "make failed"
36
		CFLAGS="${CFLAGS} -DADD_" || die "make failed"
37
37
38
	libtool --mode=link --tag=F77 ${FORTRANC} -o libcblas.la *.lo \
38
	libtool --mode=link --tag=F77 ${FORTRANC} -o libcblas.la *.lo \
Lines 43-62 Link Here
43
}
43
}
44
44
45
src_install() {
45
src_install() {
46
	RPATH="${DESTTREE}/$(get_libdir)"
46
	dodir "${RPATH}" || die "failed to create lib directory"
47
	dodir "${RPATH}" || die "failed to create lib directory"
47
48
48
	cd "${S}"/src
49
	cd "${S}"/src
49
50
50
	strip --strip-unneeded libcblas.so.0.0.0 || \
51
		die "failed strippin shared libs"
52
	strip --strip-debug .libs/libcblas.a || \
53
		die "failed to strip static libs"
54
55
	exeinto "${RPATH}"
56
	doexe libcblas.so.0.0.0 || die "failed to install shared library"
57
	dosym libcblas.so.0.0.0 "${RPATH}"/libcblas.so.0 || die
58
	dosym libcblas.so.0.0.0 "${RPATH}"/libcblas.so || die
59
60
	libtool --mode=install install -s libcblas.la "${D}/${RPATH}"\
51
	libtool --mode=install install -s libcblas.la "${D}/${RPATH}"\
61
		|| die "failed to install static library"
52
		|| die "failed to install static library"
62
53

Return to bug 122958