2011-12-24 08:05:17 +00:00
|
|
|
# Template file for 'bc'
|
|
|
|
pkgname=bc
|
2011-12-24 08:31:30 +00:00
|
|
|
version=1.06.95
|
|
|
|
distfiles="http://alpha.gnu.org/gnu/${pkgname}/${pkgname}-${version}.tar.bz2"
|
2011-12-24 08:05:17 +00:00
|
|
|
build_style=gnu-configure
|
2011-12-24 08:23:07 +00:00
|
|
|
configure_args="--with-readline"
|
2012-05-23 16:26:56 +00:00
|
|
|
makedepends="flex readline-devel"
|
2011-12-24 08:05:17 +00:00
|
|
|
short_desc="An arbitrary precision numeric processing language."
|
|
|
|
maintainer="davehome <davehome@redthumb.info.tm>"
|
|
|
|
homepage="http://www.gnu.org/software/${pkgname}/"
|
|
|
|
license="GPL-3"
|
2011-12-24 08:31:30 +00:00
|
|
|
checksum=7ee4abbcfac03d8a6e1a8a3440558a3d239d6b858585063e745c760957725ecc
|
2011-12-24 08:05:17 +00:00
|
|
|
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."
|
|
|
|
|
2011-12-24 08:23:07 +00:00
|
|
|
|
|
|
|
do_build()
|
|
|
|
{
|
|
|
|
make ${makejobs} LEX="flex -I"
|
|
|
|
}
|