void-packages/srcpkgs/symmetrica/template

31 lines
787 B
Bash

# Template file for 'symmetrica'
pkgname=symmetrica
version=3.0.1
revision=1
build_style=gnu-configure
hostmakedepends="automake libtool"
short_desc="Collection of C routines for representation theory"
maintainer="Gonzalo Tornaría <tornaria@cmat.edu.uy>"
license="ISC"
homepage="https://gitlab.com/sagemath/symmetrica"
distfiles="https://gitlab.com/sagemath/symmetrica/-/archive/${version}/symmetrica-${version}.tar.bz2"
checksum=260028143f3ea3594fed75651e10176d2f53edae5e1af1661d5b82d617e233d6
pre_configure() {
autoreconf -fi
}
post_install() {
vlicense LICENSE
}
symmetrica-devel_package() {
depends="${sourcepkg}>=${version}_${revision} ${makedepends}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove "usr/lib/*.a"
vmove "usr/lib/*.so"
}
}