void-packages/srcpkgs/bc/template

36 lines
1.1 KiB
Plaintext
Raw Normal View History

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