vp-build/srcpkgs/nauty/template

31 lines
914 B
Bash

# Template file for 'nauty'
pkgname=nauty
version=2.7r4
revision=1
build_style=gnu-configure
make_install_args="includedir=/usr/include/nauty
pkgconfigexecdir=/usr/lib/pkgconfig"
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-27.txt"
distfiles="https://pallini.di.uniroma1.it/nauty${version/./}.tar.gz"
checksum=b810c85a6fe299f3b4c9f24aaf929cac7f9546c2f35c20e1dd0adbc7408848a6
build_options="native_build"
if [ -z "$build_option_native_build" ]; then
configure_args="--enable-generic --disable-popcnt"
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
}
}