bc recipe updated.

This commit is contained in:
Dareus
2013-12-05 04:33:33 +00:00
parent 1dc2150abe
commit ff6f0e1d75

View File

@@ -1,57 +1,55 @@
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.
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_MD5="d44b5dddebd8a7a7309aea6c36fda117"
REVISION="2"
LICENSE="GNU GPL v2
GNU LGPL v2.1"
GNU LGPL v2.1"
COPYRIGHT="1991-2000 Free Software Foundation, Inc."
ARCHITECTURES="x86_gcc2 ?x86 ?x86_64"
PROVIDES="
bc = $portVersion
cmd:bc
cmd:dc
bc = $portVersion
cmd:bc
cmd:dc
"
REQUIRES="
haiku >= $haikuVersion
haiku >= $haikuVersion
"
BUILD_REQUIRES="
bison
flex
haiku_devel >= $haikuVersion
"
BUILD_PREREQUIRES="
haiku_devel >= $haikuVersion
cmd:gcc
cmd:make
cmd:flex
cmd:bison
cmd:gcc
cmd:make
cmd:flex
cmd:bison
"
PATCHES="
bc-1.06.patch
bc-1.06.patch
"
BUILD()
{
./configure --prefix=$prefix \
--infodir=$infoDir \
--mandir=$manDir
make
./configure --prefix=$prefix \
--infodir=$infoDir \
--mandir=$manDir
make $jobArgs
}
INSTALL()
{
make install DESTDIR=${installDestDir}
make install
}
TEST()