# Template file for 'm4rie'
pkgname=m4rie
version=20200125
revision=2
build_style=gnu-configure
makedepends="m4ri-devel"
short_desc="Library for fast arithmetic with dense matrices over GF(2^e)"
maintainer="Eloi Torrents <eloi.torrentsj@gmail.com>"
license="GPL-2.0-or-later"
homepage="https://bitbucket.org/malb/m4rie/wiki/Home"
distfiles="https://bitbucket.org/malb/m4rie/downloads/m4rie-${version}.tar.gz"
checksum=7f3107f7cd10f6c22d9663d9536e1af2f551e10183601852a60d760918caf58d

m4rie-devel_package() {
	short_desc+=" - development files"
	depends="${sourcepkg}>=${version}_${revision}"
	pkg_install() {
		vmove usr/include
		vmove "usr/lib/*.a"
		vmove usr/lib/libm4rie.so
		vmove usr/lib/pkgconfig
	}
}
