void-packages/srcpkgs/aribas/template
2019-07-24 22:03:32 +02:00

30 lines
819 B
Bash

# Template file for 'aribas'
pkgname=aribas
version=1.64
revision=4
build_wrksrc=src
build_style=gnu-makefile
short_desc="Multiprecision Arithmetic Interpreter"
maintainer="Leah Neukirchen <leah@vuxu.org>"
license="GPL-2.0-or-later"
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
CFLAGS='-DUNiX -DPROTO -DMEM=16 -DINTSIZE=64'
post_configure() {
sed -i '/CC.*-o/s/$/ $(LDFLAGS)/' 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
}