mirror of
https://github.com/yann64/haikuports.git
synced 2026-05-03 05:28:53 +02:00
57 lines
998 B
Plaintext
57 lines
998 B
Plaintext
SUMMARY="Handy console-based calculator utility"
|
|
DESCRIPTION="
|
|
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.
|
|
"
|
|
HOMEPAGE="http://www.gnu.org/software/bc/bc.html"
|
|
SRC_URI="http://ftp.gnu.org/gnu/bc/bc-1.06.tar.gz"
|
|
CHECKSUM_SHA256="4ef6d9f17c3c0d92d8798e35666175ecd3d8efac4009d6457b5c99cea72c0e33"
|
|
REVISION="2"
|
|
LICENSE="GNU GPL v2
|
|
GNU LGPL v2.1"
|
|
COPYRIGHT="1991-2000 Free Software Foundation, Inc."
|
|
|
|
ARCHITECTURES="x86_gcc2 ?x86 ?x86_64"
|
|
|
|
PROVIDES="
|
|
bc = $portVersion
|
|
cmd:bc
|
|
cmd:dc
|
|
"
|
|
|
|
REQUIRES="
|
|
haiku >= $haikuVersion
|
|
"
|
|
|
|
BUILD_REQUIRES="
|
|
haiku_devel >= $haikuVersion
|
|
"
|
|
|
|
BUILD_PREREQUIRES="
|
|
cmd:gcc
|
|
cmd:make
|
|
cmd:flex
|
|
cmd:bison
|
|
"
|
|
|
|
PATCHES="
|
|
bc-1.06.patch
|
|
"
|
|
|
|
BUILD()
|
|
{
|
|
runConfigure --omit-dirs "docDir dataRootDir" ./configure
|
|
make $jobArgs
|
|
}
|
|
|
|
INSTALL()
|
|
{
|
|
make install
|
|
}
|
|
|
|
TEST()
|
|
{
|
|
timetest
|
|
}
|