Skip to content

Commit

Permalink
Add backports/metis (#902)
Browse files Browse the repository at this point in the history
  • Loading branch information
Taka-Kazu authored Jan 29, 2024
1 parent 6c823e0 commit 815bff0
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions backports/metis/APKBUILD
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"

0 comments on commit 815bff0

Please sign in to comment.