0
0
Fork 0
haikuports/sys-devel/bc/bc-1.06.recipe

54 lines
988 B
Bash

SUMMARY="A 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"
COPYRIGHT="1991-2000 Free Software Foundation, Inc."
LICENSE="GNU GPL v2
GNU LGPL v2.1"
REVISION="3"
SOURCE_URI="http://ftp.gnu.org/gnu/bc/bc-1.06.tar.gz"
CHECKSUM_SHA256="4ef6d9f17c3c0d92d8798e35666175ecd3d8efac4009d6457b5c99cea72c0e33"
PATCHES="bc-1.06.patchset"
ARCHITECTURES="all ?x86"
PROVIDES="
bc = $portVersion
cmd:bc
cmd:dc
"
REQUIRES="
haiku
lib:libfl >= 2
"
BUILD_REQUIRES="
haiku_devel
"
BUILD_PREREQUIRES="
cmd:bison
cmd:flex
cmd:gcc
cmd:make
"
BUILD()
{
runConfigure --omit-dirs "docDir dataRootDir" ./configure
make $jobArgs
}
INSTALL()
{
make install
}
TEST()
{
make check
cd Test
./timetest
}