void-packages/srcpkgs/aribas/template

30 lines
821 B
Bash
Raw Normal View History

2014-12-05 22:50:01 +01:00
# Template file for 'aribas'
pkgname=aribas
version=1.64
2016-05-24 13:05:16 +02:00
revision=4
2015-04-13 11:36:29 +02:00
build_wrksrc=src
2014-12-05 22:50:01 +01:00
build_style=gnu-makefile
2015-06-06 17:30:40 +02:00
CFLAGS='-DUNiX -DPROTO -DMEM=16 -DINTSIZE=64'
2014-12-05 22:50:01 +01:00
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() {
2016-05-24 13:05:16 +02:00
sed -i '/CC.*-o/s/$/ $(LDFLAGS)/' Makefile
2014-12-05 22:50:01 +01:00
}
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
}