mirror of
https://github.com/yann64/haikuports.git
synced 2026-05-03 05:28:53 +02:00
bc recipe fixed.
This commit is contained in:
@@ -1,31 +1,60 @@
|
|||||||
DESCRIPTION="Handy console-based calculator utility"
|
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"
|
HOMEPAGE="http://www.gnu.org/software/bc/bc.html"
|
||||||
SRC_URI="http://ftp.gnu.org/gnu/bc/bc-1.06.tar.gz"
|
SRC_URI="http://ftp.gnu.org/gnu/bc/bc-1.06.tar.gz"
|
||||||
REVISION="1"
|
|
||||||
STATUS_HAIKU="stable"
|
|
||||||
DEPEND=""
|
|
||||||
CHECKSUM_MD5="d44b5dddebd8a7a7309aea6c36fda117"
|
CHECKSUM_MD5="d44b5dddebd8a7a7309aea6c36fda117"
|
||||||
|
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="
|
||||||
|
bison
|
||||||
|
flex
|
||||||
|
"
|
||||||
|
|
||||||
|
BUILD_PREREQUIRES="
|
||||||
|
haiku_devel >= $haikuVersion
|
||||||
|
cmd:gcc
|
||||||
|
cmd:make
|
||||||
|
cmd:flex
|
||||||
|
cmd:bison
|
||||||
|
"
|
||||||
|
|
||||||
|
PATCHES="
|
||||||
|
bc-1.06.patch
|
||||||
|
"
|
||||||
|
|
||||||
BUILD()
|
BUILD()
|
||||||
{
|
{
|
||||||
cd bc-1.06
|
./configure --prefix=$prefix \
|
||||||
./configure --prefix=`finddir B_COMMON_DIRECTORY` \
|
--infodir=$infoDir \
|
||||||
--infodir=`finddir B_COMMON_DOCUMENTATION_DIRECTORY`/info \
|
--mandir=$manDir
|
||||||
--mandir=`finddir B_COMMON_DOCUMENTATION_DIRECTORY`/man
|
make
|
||||||
make
|
|
||||||
}
|
}
|
||||||
|
|
||||||
INSTALL()
|
INSTALL()
|
||||||
{
|
{
|
||||||
cd bc-1.06
|
make install DESTDIR=${installDestDir}
|
||||||
make install DESTDIR=${DESTDIR}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
TEST()
|
TEST()
|
||||||
{
|
{
|
||||||
cd bc-1.06/Test
|
|
||||||
timetest
|
timetest
|
||||||
}
|
}
|
||||||
|
|
||||||
LICENSE="GNU GPL v2
|
|
||||||
GNU LGPL v2.1"
|
|
||||||
COPYRIGHT="1991-2000 Free Software Foundation, Inc."
|
|
||||||
|
|||||||
Reference in New Issue
Block a user