void-packages/srcpkgs/libogdf/template

31 lines
849 B
Bash

# Template file for 'libogdf'
pkgname=libogdf
version=2018.03.28
revision=1
archs="i686* x86_64*"
wrksrc=OGDF-snapshot
build_style=cmake
configure_args="-DBUILD_SHARED_LIBS=ON"
hostmakedepends="unzip"
makedepends="libClp-devel"
short_desc="Open Graph Drawing Framework"
maintainer="nexolight <snow.dream.ch@gmail.com>"
license="GPL-2.0-or-later"
homepage="https://ogdf.uos.de/"
distfiles="https://ogdf.uos.de/wp-content/uploads/2019/04/ogdf-snapshot-${version//./-}.zip"
checksum=347c3fa8dcdbb094f9c43008cbc2934bc5a64a532af4d3fe360a5fa54488440f
nocross="can't find cpuid.h headers"
if [ "$XBPS_TARGET_LIBC" = musl ]; then
broken="Non optional usage of broken mallinfo"
fi
libogdf-devel_package() {
short_desc+=" - development files"
depends="${sourcepkg}>=${version}_${revision}"
pkg_install() {
vmove usr/include
vmove usr/lib/cmake
}
}