void-packages/srcpkgs/bc/template

30 lines
1.1 KiB
Plaintext

# Template file for 'bc'
pkgname=bc
version=1.06.95
distfiles="http://alpha.gnu.org/gnu/${pkgname}/${pkgname}-${version}.tar.bz2"
build_style=gnu-configure
configure_args="--with-readline"
makedepends="flex readline-devel"
short_desc="An arbitrary precision numeric processing language."
maintainer="davehome <davehome@redthumb.info.tm>"
homepage="http://www.gnu.org/software/${pkgname}/"
license="GPL-3"
checksum=7ee4abbcfac03d8a6e1a8a3440558a3d239d6b858585063e745c760957725ecc
long_desc="
bc is an arbitrary precision numeric processing language. Syntax is similar
to C, but differs in many substantial areas. It supports interactive
execution of statements. bc is a utility included in the POSIX P1003.2/D11
draft standard.
Since the POSIX document does not specify how bc must be implemented, this
version does not use the historical method of having bc be a compiler for the
dc calculator. This version has a single executable that both compiles the
language and runs the resulting byte code. The byte code is not the dc
language."
do_build()
{
make ${makejobs} LEX="flex -I"
}