Initial .bep file for bc.

This commit is contained in:
Scott McCreary
2010-12-13 17:42:17 +00:00
parent 1589e639a8
commit c5be3a2529
2 changed files with 38 additions and 0 deletions

26
sys-devel/bc/bc-1.06.bep Normal file
View File

@@ -0,0 +1,26 @@
DESCRIPTION="Handy console-based calculator utility"
HOMEPAGE="http://www.gnu.org/software/bc/bc.html"
SRC_URI="http://ftp.gnu.org/gnu/bc/bc-1.06.tar.gz"
REVISION="1"
STATUS_HAIKU="stable"
DEPEND=""
CHECKSUM_MD5="d44b5dddebd8a7a7309aea6c36fda117"
BUILD {
cd bc-1.06
./configure --prefix=`finddir B_COMMON_DIRECTORY`
make
}
INSTALL {
cd bc-1.06
make install DESTDIR=${DESTDIR}
}
TEST {
cd bc-1.06/Test
timetest
}
LICENSE="GNU GPL v2
GNU LGPL v2.1"
COPYRIGHT="1991-2000 Free Software Foundation, Inc."

View File

@@ -0,0 +1,12 @@
diff -urN bc-1.06/Test/timetest bc-1.06-haiku/Test/timetest
--- bc-1.06/Test/timetest 2000-07-07 23:34:10.023592960 +0000
+++ bc-1.06-haiku/Test/timetest 2010-12-13 09:35:03.000000000 +0000
@@ -2,7 +2,7 @@
#
# Time the functions.
#
-SYSBC=/usr/bin/bc
+SYSBC=/boot/common/bin/bc
if [ x$BC = x ] ; then
BC=../bc/bc
fi