diff --git a/sys-devel/bc/bc-1.06.bep b/sys-devel/bc/bc-1.06.bep new file mode 100644 index 000000000..ad7e51c46 --- /dev/null +++ b/sys-devel/bc/bc-1.06.bep @@ -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." diff --git a/sys-devel/bc/patches/bc-1.06.patch b/sys-devel/bc/patches/bc-1.06.patch new file mode 100644 index 000000000..aa3420d14 --- /dev/null +++ b/sys-devel/bc/patches/bc-1.06.patch @@ -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