-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
29 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
# Contributor: Kazuki Takahashi <[email protected]> | ||
# Maintainer: | ||
pkgname=metis | ||
pkgver=5.1.0 | ||
pkgrel=0 | ||
pkgdesc="Serial Graph Partitioning and Fill-reducing Matrix Ordering" | ||
url="http://glaros.dtc.umn.edu/gkhome/views/metis" | ||
arch="all" | ||
license="Apache-2.0" | ||
# No test is provided. | ||
options="!check" | ||
makedepends="build-base cmake" | ||
subpackages="$pkgname-dev $pkgname-doc" | ||
source="$pkgname-$pkgver.tar.gz::http://glaros.dtc.umn.edu/gkhome/fetch/sw/metis/metis-$pkgver.tar.gz" | ||
|
||
builddir="$srcdir/$pkgname-$pkgver" | ||
|
||
build() { | ||
make config shared=1 prefix=/usr | ||
make | ||
} | ||
|
||
package() { | ||
make DESTDIR="$pkgdir" install | ||
|
||
install -Dm644 "$builddir"/LICENSE.txt "$pkgdir"/usr/share/licenses/$pkgname/LICENSE.txt | ||
} | ||
|
||
sha512sums="deea47749d13bd06fbeaf98a53c6c0b61603ddc17a43dae81d72c8015576f6495fd83c11b0ef68d024879ed5415c14ebdbd87ce49c181bdac680573bea8bdb25 metis-5.1.0.tar.gz" |