mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-04-11 22:36:37 +02:00
46 lines
1.2 KiB
Text
46 lines
1.2 KiB
Text
# Contributor: Grigory Kirillov <txgk@bk.ru>
|
|
# Maintainer: Celeste <cielesti@protonmail.com>
|
|
maintainer="Celeste <cielesti@protonmail.com>"
|
|
pkgname=planarity
|
|
pkgver=4.0.0.0
|
|
pkgrel=0
|
|
pkgdesc="Library for the edge addition planar graph embedding algorithm and related algorithms"
|
|
url="https://github.com/graph-algorithms/edge-addition-planarity-suite"
|
|
arch="all"
|
|
license="BSD-3-Clause"
|
|
makedepends="autoconf automake libtool"
|
|
source="https://github.com/graph-algorithms/edge-addition-planarity-suite/archive/Version_$pkgver/planarity-$pkgver.tar.gz"
|
|
subpackages="$pkgname-dev $pkgname-libs $pkgname-doc"
|
|
builddir="$srcdir/edge-addition-planarity-suite-Version_$pkgver"
|
|
|
|
prepare() {
|
|
default_prepare
|
|
autoreconf -fi
|
|
}
|
|
|
|
build() {
|
|
export CFLAGS="${CFLAGS/-Os/-O3}" # gotta go fast
|
|
|
|
./configure \
|
|
--target="$CTARGET" \
|
|
--build="$CBUILD" \
|
|
--host="$CHOST" \
|
|
--prefix=/usr \
|
|
--sysconfdir=/etc \
|
|
--mandir=/usr/share/man \
|
|
--localstatedir=/var \
|
|
--disable-static
|
|
make
|
|
}
|
|
|
|
check() {
|
|
make check
|
|
}
|
|
|
|
package() {
|
|
make DESTDIR="$pkgdir" install
|
|
}
|
|
|
|
sha512sums="
|
|
48e35447c9028a7830318d6e7b569c5fc44d860862061bdca83ae34008431d30d7d3282b4c7592d93a1de8921b35e21007b15aee6fa35c3f87414284912fd429 planarity-4.0.0.0.tar.gz
|
|
"
|