mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-12-30 22:01:42 +01:00
30 lines
769 B
Plaintext
30 lines
769 B
Plaintext
# Contributor: Grigory Kirillov <txgk@bk.ru>
|
|
# Maintainer:
|
|
pkgname=mcqd
|
|
pkgver=1.0.0
|
|
pkgrel=1
|
|
pkgdesc="Fast exact algorithm for finding a maximum clique in an undirected graph"
|
|
url="https://gitlab.com/janezkonc/mcqd"
|
|
arch="all"
|
|
license="GPL-3.0-only"
|
|
source="https://gitlab.com/janezkonc/mcqd/-/archive/v$pkgver/mcqd-v$pkgver.tar.gz"
|
|
subpackages="$pkgname-dev"
|
|
builddir="$srcdir/$pkgname-v$pkgver"
|
|
|
|
build() {
|
|
$CXX ${CXXFLAGS/-Os/-O3} $LDFLAGS -o mcqd mcqd.cpp
|
|
}
|
|
|
|
check() {
|
|
./mcqd test.clq
|
|
}
|
|
|
|
package() {
|
|
install -Dm755 mcqd "$pkgdir"/usr/bin/mcqd
|
|
install -Dm644 mcqd.h "$pkgdir"/usr/include/mcqd.h
|
|
}
|
|
|
|
sha512sums="
|
|
ce0a8e1722d793793bdc1c0d47bf088daaa26e830550d401c1a05938581cc1e1f5ec3d846292e4152658143231f64542c32f046344d95c71b975f28a9c750817 mcqd-v1.0.0.tar.gz
|
|
"
|