blob: 25b4e34ae237fc8aff05cc356ed287b387836da8 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
# Contributor: Jed Brown <jed@59A2.org>
# Contributor: George Eleftheriou <eleftg>
pkgname=parmetis-mpich
pkgver=4.0.3.p9
_pkgver=4.0.3-p9
_pkgdirname=petsc-pkg-parmetis-f5e3aab04fd5
_prefix=/opt/mpich
pkgrel=1
pkgdesc="A parallel graph partitioning library, built against MPICH"
url="http://glaros.dtc.umn.edu/gkhome/metis/parmetis/overview"
arch=('i686' 'x86_64')
license=(custom)
depends=(mpich metis)
makedepends=(cmake)
replaces=(parmetis-mpich2)
source=(https://bitbucket.org/petsc/pkg-parmetis/get/v${_pkgver}.tar.gz)
sha256sums=('612717e85992c984f09b0f5670be421bbb90a4c04145ab5b9a3358b92765d891')
# "Upstream" is unmaintained and does not reply or apply to critical patches
#source=(http://glaros.dtc.umn.edu/gkhome/fetch/sw/parmetis/parmetis-$pkgver.tar.gz)
build() {
cd "$srcdir/${_pkgdirname}"
make config cc=${_prefix}/bin/mpicc mpicc=${_prefix}/bin/mpicc mpicxx=${_prefix}/bin/mpicxx shared=1 prefix=${_prefix}
make
}
package () {
cd "$srcdir/${_pkgdirname}"
make install "DESTDIR=$pkgdir"
}
|