void-packages/srcpkgs/libmaa/template

33 lines
850 B
Bash

# Template file for 'libmaa'
pkgname=libmaa
version=1.4.7
revision=1
build_style=gnu-makefile
make_cmd=mkcmake
hostmakedepends="flex libtool mk-configure"
short_desc="Provides many low-level data structures useful for writing compilers"
maintainer="Christopher Brannon <chris@the-brannons.com>"
license="GPL-2.0-or-later"
homepage="http://sourceforge.net/projects/dict/"
distfiles="${SOURCEFORGE_SITE}/dict/libmaa-${version}.tar.gz"
checksum=4e01a9ebc5d96bc9284b6706aa82bddc2a11047fa9bd02e94cf8753ec7dcb98e
do_build() {
awk -f maa/arggram2c < maa/arggram.txt > maa/arggram.c
mkcmake ${makejobs} PREFIX=/usr
}
do_check() {
mkcmake test
}
libmaa-devel_package() {
depends="${makedepends} libmaa>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove "usr/include"
vmove "usr/lib/*.a"
vmove "usr/lib/*.so"
}
}