summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sci-libs/gotoblas2')
-rw-r--r--sci-libs/gotoblas2/Manifest2
-rw-r--r--sci-libs/gotoblas2/gotoblas2-1.13.ebuild27
2 files changed, 18 insertions, 11 deletions
diff --git a/sci-libs/gotoblas2/Manifest b/sci-libs/gotoblas2/Manifest
index ebd425a..5ca4394 100644
--- a/sci-libs/gotoblas2/Manifest
+++ b/sci-libs/gotoblas2/Manifest
@@ -3,6 +3,6 @@ AUX gotoblas2-1.13-dynamic.patch 608 RMD160 37947ee4aeeec6db1f32132adf97e802369b
AUX gotoblas2-1.13-fcheck.patch 292 RMD160 d5163404d0eff01b21e5c7792a3e03677f210552 SHA1 73cd53f9b09ff4f147a8ed5f810b864c2ded8221 SHA256 19bbf3bdf5dfcb639c3817e545b3186b1e379e874ffcb586bd5e76ec40bfa533
AUX gotoblas2-1.13-sharedlibs.patch 1929 RMD160 87db891bb2e0b538da7a4f21c10c65b78149a26c SHA1 031912957004745f5e68c2cdf3899f0e80118377 SHA256 fc5f014d6b81a481a9c9c29d82de07f5a5182d9355f90071ba89b680f7e09c1b
DIST GotoBLAS2-1.13_bsd.tar.gz 3165294 RMD160 64a416b506b45ec4df33d9d7e9ec893585b794b2 SHA1 0e1a046bb51e50cf8cff5d1732157a083a620e64 SHA256 7c3eab57ef5ad5c42f73adade833a531591e78967bbe9fc6db31310d73fa2d86
-EBUILD gotoblas2-1.13.ebuild 2807 RMD160 572a756331212b09f67dabf28cb1f7de5b5d981d SHA1 c716929904a9e44f48ea3e5d109e355c6d3aee4c SHA256 c178d0882f2d4dfcdc2e118d09d59a5a1ff87952d919ed74b9204f6d39dbae44
+EBUILD gotoblas2-1.13.ebuild 2958 RMD160 f468ecf73cb721e1b4a0b7549247daf9dd252842 SHA1 a15bc9df091b12dd4849988eaafa0a15bdc5f516 SHA256 f6e1695fa23587f872eaa725cf6047a5aa515bee8571c514a6591bda40ee1f60
MISC ChangeLog 977 RMD160 1029dd4ef2c56cc34416f92d0488f6095dcfb9ef SHA1 305aa88db9c89385ca7224e7eb91c58df4d4a36d SHA256 d8b525cf38540ec0e3ece7b96d47838f5afd86065b89fd56ecd23141b02946ee
MISC metadata.xml 856 RMD160 250635ac290516ed28e932e55ec87626d97b228e SHA1 9bdb2a1cb537025e5460141522746f3b07cea92f SHA256 4c5ea594bc1d07713211d39171d628b2cba8b3aeccef73309e816cecc79bd8c9
diff --git a/sci-libs/gotoblas2/gotoblas2-1.13.ebuild b/sci-libs/gotoblas2/gotoblas2-1.13.ebuild
index 9309935..7b8b91a 100644
--- a/sci-libs/gotoblas2/gotoblas2-1.13.ebuild
+++ b/sci-libs/gotoblas2/gotoblas2-1.13.ebuild
@@ -72,13 +72,20 @@ src_test() {
}
src_install() {
- local libname=goto2 threads
- use threads && threads="-pthread"
+ local profname=${PN} threads
+ use int64 && profname=${profname}-int64
+ if use threads; then
+ threads="-pthread"
+ profname=${profname}-threads
+ elif use openmp; then
+ profname=${profname}-openmp
+ fi
+
dolib.so solibs/lib*.so
use static-libs && dolib.a lib*.a
# create pkg-config file and associated eselect file
- cat <<-EOF > ${libname}.pc
+ cat <<-EOF > ${profname}.pc
prefix=${EPREFIX}/usr
libdir=\${prefix}/$(get_libdir)
includedir=\${prefix}/include
@@ -86,20 +93,20 @@ src_install() {
Description: ${DESCRIPTION}
Version: ${PV}
URL: ${HOMEPAGE}
- Libs: -L\${libdir} -l${libname} -lm ${threads}
+ Libs: -L\${libdir} -lgoto2 -lm ${threads}
EOF
insinto /usr/$(get_libdir)/pkgconfig
- doins ${libname}.pc
+ doins ${profname}.pc
- alternatives_for blas goto2 0 \
- "/usr/$(get_libdir)/pkgconfig/blas.pc" "${libname}.pc"
+ alternatives_for blas ${profname} 0 \
+ "/usr/$(get_libdir)/pkgconfig/blas.pc" "${profname}.pc"
if use incblas; then
insinto /usr/include/${PN}
doins cblas.h || die
- echo >> ${libname}.pc "Cflags: -I\${includedir}/${PN}"
- alternatives_for cblas goto2 0 \
- "/usr/$(get_libdir)/pkgconfig/cblas.pc" "${libname}.pc" \
+ echo >> ${profname}.pc "Cflags: -I\${includedir}/${PN}"
+ alternatives_for cblas ${profname} 0 \
+ "/usr/$(get_libdir)/pkgconfig/cblas.pc" "${profname}.pc" \
"/usr/include/cblas.h" "${PN}/cblas.h"
fi
dodoc 01Readme.txt 03FAQ.txt 05LargePage 06WeirdPerformance