void-packages/srcpkgs/nauty/template

36 lines
980 B
Bash

# Template file for 'nauty'
pkgname=nauty
version=2.8.8
revision=1
build_style=gnu-configure
make_install_args="includedir=/usr/include/nauty
pkgconfigexecdir=/usr/lib/pkgconfig"
hostmakedepends="automake"
short_desc="Compute the automorphism groups of graphs and digraphs"
maintainer="Gonzalo Tornaría <tornaria@cmat.edu.uy>"
license="Apache-2.0"
homepage="https://pallini.di.uniroma1.it/"
changelog="https://pallini.di.uniroma1.it/changes24-28.txt"
distfiles="https://pallini.di.uniroma1.it/nauty${version//./_}.tar.gz"
checksum=159d2156810a6bb240410cd61eb641add85088d9f15c888cdaa37b8681f929ce
build_options="native_build"
if [ -z "$build_option_native_build" ]; then
configure_args="--enable-generic --disable-popcnt"
fi
pre_configure() {
autoreconf -fi
}
nauty-devel_package() {
depends="${sourcepkg}>=${version}_${revision} ${makedepends}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove "usr/lib/*.a"
vmove usr/lib/pkgconfig
}
}