# Template file for 'aribas'
pkgname=aribas
version=1.64
revision=3
build_wrksrc=src
build_style=gnu-makefile
CFLAGS='-DUNiX -DPROTO -DMEM=16 -DINTSIZE=64'
short_desc="Multiprecision Arithmetic Interpreter"
maintainer="Christian Neukirchen <chneukirchen@gmail.com>"
license="GPL-2"
homepage="http://www.mathematik.uni-muenchen.de/~forster/sw/aribas.html"
distfiles="ftp://ftp.mathematik.uni-muenchen.de/pub/forster/aribas/UNIX_LINUX/${pkgname}-${version}.tar.gz"
checksum=11b2a934774088e2c66a9d9397806dbb8d33f0da48d6c800a492c2a43c258169

post_configure() {
	sed -i /strip/d Makefile
}

do_install() {
	vbin aribas
	vdoc aribas.hlp
	vman ../doc/aribas.1
	vdoc ../doc/aribas.doc
	vdoc ../doc/aribas.tut
	vinstall EL/aribas.el 0644 usr/share/emacs/site-lisp
	for f in ../examples/*; do
		vsconf $f
	done
}
