aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLeo <thinkabit.ukim@gmail.com>2019-12-05 22:37:23 +0100
committerLeo <thinkabit.ukim@gmail.com>2019-12-05 22:39:40 +0100
commit52963a0ac7a6cb523c3f9ddbf113c552f791a878 (patch)
tree662aaa3c7e6d8c3a7e4e0c1b5fdfcea28e73a99b
parent2e9acc5851f7089415f4a1135d192cf45091fe4d (diff)
downloadaports-52963a0ac7a6cb523c3f9ddbf113c552f791a878.tar.gz
aports-52963a0ac7a6cb523c3f9ddbf113c552f791a878.tar.bz2
aports-52963a0ac7a6cb523c3f9ddbf113c552f791a878.tar.xz
testing/meep: rebuild against lapack
-rw-r--r--testing/meep/APKBUILD27
1 files changed, 4 insertions, 23 deletions
diff --git a/testing/meep/APKBUILD b/testing/meep/APKBUILD
index a9d96e2a6d..e821662c62 100644
--- a/testing/meep/APKBUILD
+++ b/testing/meep/APKBUILD
@@ -2,33 +2,18 @@
# Maintainer:
pkgname=meep
pkgver=1.3
-pkgrel=7
+pkgrel=8
pkgdesc="free finite-difference time-domain (FDTD) simulation software package developed at MIT to model electromagnetic systems"
url="http://ab-initio.mit.edu/wiki/index.php/Meep"
arch="x86_64 x86 ppc64le s390x"
license="GPL-2.0-or-later"
-depends=""
-depends_dev=""
makedepends="$depends_dev harminv-dev>=1.4.1-r3 openblas-dev>=0.3.0 libctl-dev guile-dev
hdf5-dev gsl-dev gfortran gmp-dev fftw-dev"
-install=""
# Omit -doc because it requires latex2html to build
subpackages="$pkgname-dev"
source="http://ab-initio.mit.edu/meep/meep-$pkgver.tar.gz"
-_builddir="$srcdir"/meep-$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
-}
-
build() {
- cd "$_builddir"
./configure \
--build=$CBUILD \
--host=$CHOST \
@@ -38,16 +23,12 @@ build() {
--infodir=/usr/share/info \
--localstatedir=/var \
--enable-portable-binary \
- --with-blas=openblas --with-lapack=openblas \
- || return 1
- make || return 1
+ --with-blas=openblas --with-lapack=openblas
+ make
}
package() {
- cd "$_builddir"
- make DESTDIR="$pkgdir" install || return 1
+ make DESTDIR="$pkgdir" install
}
-md5sums="18a5b9e18008627a0411087e0bb60db5 meep-1.3.tar.gz"
-sha256sums="564c1ff1b413a3487cf81048a45deabfdac4243a1a37ce743f4fcf0c055fd438 meep-1.3.tar.gz"
sha512sums="4ad8d68f27d9971fe6dd4b8440f78d5b141fe747a80c50da55ecbc56a5beb0c2d31441fb46b54cac3c62d4cb34cb1ce6819c06bd2c54bc35f129ba683dc84aea meep-1.3.tar.gz"