void-packages/srcpkgs/libmaa/template
2019-02-16 03:55:16 -02:00

32 lines
839 B
Bash

# Template file for 'libmaa'
pkgname=libmaa
version=1.4.3
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=47fb588c454956d3e4712603f0a81455bfe8d9ccb1e38814483110069b22f696
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"
}
}