Files
haikuports/sys-devel/bc/bc-1.06.recipe
hermord 1a3b37f4b6 tmux,parted,bc,htop: enable x86_64 (#1022)
fix gcc6 and gcc7 syslibs devel provides.
2017-01-10 09:29:38 +01:00

54 lines
1000 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="2"
SOURCE_URI="http://ftp.gnu.org/gnu/bc/bc-1.06.tar.gz"
CHECKSUM_SHA256="4ef6d9f17c3c0d92d8798e35666175ecd3d8efac4009d6457b5c99cea72c0e33"
PATCHES="bc-1.06.patchset"
ARCHITECTURES="x86_gcc2 ?x86 x86_64"
PROVIDES="
bc = $portVersion
cmd:bc
cmd:dc
"
REQUIRES="
haiku
lib:libfl >= 2
"
BUILD_REQUIRES="
haiku_devel
"
BUILD_PREREQUIRES="
cmd:gcc
cmd:make
cmd:flex
cmd:bison
"
BUILD()
{
runConfigure --omit-dirs "docDir dataRootDir" ./configure
make $jobArgs
}
INSTALL()
{
make install
}
TEST()
{
make check
cd Test
./timetest
}