36 lines
980 B
Bash
36 lines
980 B
Bash
# Template file for 'nauty'
|
|
pkgname=nauty
|
|
version=2.8.6
|
|
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=f2ce98225ca8330f5bce35f7d707b629247e09dda15fc479dc00e726fee5e6fa
|
|
|
|
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
|
|
}
|
|
}
|