New package: openblas-0.2.19

Closes: #6222 [via git-merge-pr]
This commit is contained in:
Julien Dehos 2017-04-19 15:04:04 +02:00 committed by Duncaen
parent 40f49156f8
commit 9abd31d72b
3 changed files with 39 additions and 0 deletions

View file

@ -2835,3 +2835,4 @@ libPocoDataSQLite.so.48 poco-1.7.8p2_1
libPocoFoundation.so.48 poco-1.7.8p2_1
libPocoXML.so.48 poco-1.7.8p2_1
libPocoUtil.so.48 poco-1.7.8p2_1
libopenblas.so.0 openblas-0.2.19_1

1
srcpkgs/openblas-devel Symbolic link
View file

@ -0,0 +1 @@
openblas

37
srcpkgs/openblas/template Normal file
View file

@ -0,0 +1,37 @@
# Template file for 'openblas'
pkgname=openblas
version=0.2.19
revision=1
wrksrc="OpenBLAS-${version}"
build_style=gnu-makefile
make_build_args="HOSTCC=gcc USE_OPENMP=1"
hostmakedepends="perl gcc-fortran"
makedepends="cblas-devel lapack-devel lapacke-devel libgomp-devel"
short_desc="Basic Linear Algebra Subprograms based on GotoBLAS2"
maintainer="Julien Dehos <dehos@lisic.univ-littoral.fr>"
homepage="http://www.openblas.net/"
license="3-clause-BSD"
distfiles="https://github.com/xianyi/${pkgname}/archive/v${version}.tar.gz"
checksum="9c40b5e4970f27c5f6911cb0a28aa26b6c83f17418b69f8e5a116bb983ca8557"
case "${XBPS_TARGET_MACHINE}" in
armv6*) make_build_args+=" TARGET=ARMV6" ;;
armv7*) make_build_args+=" TARGET=ARMV7" ;;
aarch64*) make_build_args+=" TARGET=ARMV8" ;;
i686*) make_build_args+=" BINARY=32 " ;;
esac
post_install() {
vlicense LICENSE
}
openblas-devel_package() {
depends="${sourcepkg}>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/cmake/openblas
vmove usr/lib/libopenblas*.a*
vmove usr/lib/libopenblas.so
}
}