void-packages/srcpkgs/frobby/template

29 lines
883 B
Bash

# Template file for 'frobby'
pkgname=frobby
version=0.9.5
revision=1
build_style=gnu-makefile
makedepends="gmp-devel gmpxx-devel"
short_desc="Computations with monomial ideals"
maintainer="Eloi Torrents <eloitor@disroot.org>"
license="GPL-2.0-only"
homepage="https://github.com/Macaulay2/frobby"
changelog="https://raw.githubusercontent.com/Macaulay2/frobby/master/changelog.txt"
distfiles="https://github.com/Macaulay2/frobby/archive/refs/tags/v${version}.tar.gz"
checksum=714c33c4f68e86d82062d7a42ad42c581d4b4c60d6a73ee1836ba1be7f985eb3
post_build() {
RANLIB=/usr/bin/ranlib make CFLAGS="$CFLAGS" CPPFLAGS="$CPPFLAGS" library
}
frobby-devel_package() {
short_desc+=" - development files"
depends="${sourcepkg}>=${version}_${revision}"
pkg_install() {
vmkdir usr/include
vcopy src/frobby.h usr/include
vcopy src/stdinc.h usr/include
vcopy bin/libfrobby.a usr/lib
}
}