void-packages/srcpkgs/libogdf/template
Đoàn Trần Công Danh 80e28e941c libogdf: distfiles moved, cleanup
New release v2020.02 is available.
2021-03-18 07:22:52 +07:00

31 lines
872 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 python"
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"
patch_args=-Np1
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
}
}