diff options
author | Francesco Colista <fcolista@alpinelinux.org> | 2016-08-25 08:17:44 +0000 |
---|---|---|
committer | Francesco Colista <fcolista@alpinelinux.org> | 2016-08-25 08:17:44 +0000 |
commit | ab172600ceb4abf884f22af231ad44ec1fa9c227 (patch) | |
tree | 10f74f399097afa849ea930642bd8f34a5d9a19a | |
parent | 0ba8cd0b26bc79feb0bc87fac61255a40eec17d5 (diff) | |
download | aports-ab172600ceb4abf884f22af231ad44ec1fa9c227.tar.bz2 aports-ab172600ceb4abf884f22af231ad44ec1fa9c227.tar.xz |
community/lapack: moved from testing
-rw-r--r-- | community/lapack/APKBUILD (renamed from testing/lapack/APKBUILD) | 16 |
1 files changed, 5 insertions, 11 deletions
diff --git a/testing/lapack/APKBUILD b/community/lapack/APKBUILD index 1b34835f38..8fe23b5269 100644 --- a/testing/lapack/APKBUILD +++ b/community/lapack/APKBUILD @@ -8,26 +8,20 @@ url="http://www.netlib.org/lapack" arch="all" license="custom" depends="" -depends_dev="" -makedepends="$depends_dev gfortran cmake" +makedepends="gfortran cmake" install="" subpackages="$pkgname-dev" source="http://www.netlib.org/${pkgname}/${pkgname}-${pkgver}.tgz" -_builddir="$srcdir"/$pkgname-$pkgver +builddir="$srcdir"/$pkgname-$pkgver prepare() { local i - cd "$_builddir" - for i in $source; do - case $i in - *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; - esac - done + cd "$builddir" sed -e 's|/CMAKE/|/cmake/|' -i CBLAS/CMakeLists.txt } build() { - cd "$_builddir" + cd "$builddir" cmake \ -DCMAKE_BUILD_TYPE=Release \ -DCMAKE_SKIP_RPATH=ON \ @@ -43,7 +37,7 @@ build() { } package() { - cd "$_builddir" + cd "$builddir" make DESTDIR="$pkgdir" install } |