mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-04-08 07:11:45 +02:00
37 lines
978 B
Plaintext
37 lines
978 B
Plaintext
# Contributor: Grigory Kirillov <txgk@bk.ru>
|
|
# Maintainer:
|
|
pkgname=bliss
|
|
pkgver=0.77
|
|
pkgrel=1
|
|
pkgdesc="Tool for computing automorphism groups and canonical labelings of graphs"
|
|
url="https://users.aalto.fi/~tjunttil/bliss"
|
|
arch="all"
|
|
license="LGPL-3.0-only"
|
|
makedepends="cmake samurai"
|
|
source="https://archive.org/download/bliss-$pkgver.tar.gz/bliss-$pkgver.tar.gz"
|
|
subpackages="$pkgname-dev"
|
|
builddir="$srcdir/Bliss-$pkgver"
|
|
|
|
build() {
|
|
cmake -G Ninja -B builddir \
|
|
-DCMAKE_BUILD_TYPE=Release \
|
|
-DCMAKE_INSTALL_PREFIX=/usr
|
|
cmake --build builddir
|
|
}
|
|
|
|
check() {
|
|
./builddir/bliss -version
|
|
}
|
|
|
|
package() {
|
|
install -Dm755 builddir/bliss "$pkgdir"/usr/bin/bliss
|
|
install -Dm755 builddir/libbliss.a "$pkgdir"/usr/lib/libbliss.a
|
|
for file in include/bliss/*; do
|
|
install -Dm644 "$file" "$pkgdir"/usr/"$file"
|
|
done
|
|
}
|
|
|
|
sha512sums="
|
|
27bd44695f2c1f3dfcb2f39f75fea3f61db29dfde4bef545bd14017830cd3d399b2e448ae7a703a5886bd433b22f6eddfaa99618c8714340d366d8e387ae6583 bliss-0.77.tar.gz
|
|
"
|