void-packages/srcpkgs/aribas/template

31 lines
812 B
Bash

# Template file for 'aribas'
pkgname=aribas
version=1.65
revision=1
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="http://www.mathematik.uni-muenchen.de/~forster/sw/UNIX_LINUX/aribas${version//./}.tgz"
checksum=6ffbdcbc3e55e48ca1631465e5f7ac9f6fa19ee31973a843f21941ea4d7303e9
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/aridoc.txt
vdoc ../doc/aritut.txt
vinstall ../EL/aribas.el 0644 usr/share/emacs/site-lisp
for f in ../examples/*; do
vsconf $f
done
}