void-packages/srcpkgs/planarity/template

26 lines
806 B
Bash

# Template file for 'planarity'
pkgname=planarity
version=3.0.2.0
revision=1
build_style=gnu-configure
short_desc="Graph algorithms for planar embedding and related algorithms"
maintainer="Gonzalo Tornaría <tornaria@cmat.edu.uy>"
license="BSD-3-Clause"
homepage="https://github.com/graph-algorithms/edge-addition-planarity-suite/"
distfiles="https://github.com/graph-algorithms/edge-addition-planarity-suite/releases/download/Version_${version}/planarity-${version}.tar.gz"
checksum=b4897df8f323e660197242e0aa273a542a59782cad783d7334111a9ad49b9e08
post_install() {
vlicense LICENSE.TXT
}
planarity-devel_package() {
depends="${sourcepkg}>=${version}_${revision} ${makedepends}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove "usr/lib/*.a"
vmove "usr/lib/*.so"
}
}