2011-12-24 09:05:17 +01:00
|
|
|
# Template file for 'bc'
|
|
|
|
pkgname=bc
|
2011-12-24 09:31:30 +01:00
|
|
|
version=1.06.95
|
2013-04-12 08:55:23 +02:00
|
|
|
revision=1
|
2011-12-24 09:05:17 +01:00
|
|
|
build_style=gnu-configure
|
2011-12-24 09:23:07 +01:00
|
|
|
configure_args="--with-readline"
|
2013-04-12 08:55:23 +02:00
|
|
|
hostmakedepends="flex"
|
|
|
|
makedepends="readline-devel"
|
2011-12-24 09:05:17 +01: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"
|
2013-04-12 08:55:23 +02:00
|
|
|
distfiles="http://alpha.gnu.org/gnu/${pkgname}/${pkgname}-${version}.tar.bz2"
|
2011-12-24 09:31:30 +01:00
|
|
|
checksum=7ee4abbcfac03d8a6e1a8a3440558a3d239d6b858585063e745c760957725ecc
|
2011-12-24 09:05:17 +01: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."
|
|
|
|
|
2013-04-12 08:55:23 +02:00
|
|
|
do_build() {
|
2011-12-24 09:23:07 +01:00
|
|
|
make ${makejobs} LEX="flex -I"
|
|
|
|
}
|
2013-04-12 08:55:23 +02:00
|
|
|
|
|
|
|
bc_package() {
|
|
|
|
pkg_install() {
|
|
|
|
vmove usr
|
|
|
|
}
|
|
|
|
}
|