void-packages/srcpkgs/libmaa/template
2018-12-01 08:51:28 -02:00

32 lines
839 B
Bash

# Template file for 'libmaa'
pkgname=libmaa
version=1.4.2
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=63de331c97a40efe8b64534fee4b7b7df161645b92636572ad248b0f13abc0db
do_build() {
awk -f maa/arggram2c < maa/arggram.txt > maa/arggram.c
mkcmake ${makejobs} PREFIX=/usr
}
do_check() {
:
}
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"
}
}