-
Notifications
You must be signed in to change notification settings - Fork 2.1k
/
template
35 lines (31 loc) · 980 Bytes
/
template
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
# 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
}
}