mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-23 12:10:06 +02:00
Initial .bep file for bc.
This commit is contained in:
26
sys-devel/bc/bc-1.06.bep
Normal file
26
sys-devel/bc/bc-1.06.bep
Normal 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."
|
||||
12
sys-devel/bc/patches/bc-1.06.patch
Normal file
12
sys-devel/bc/patches/bc-1.06.patch
Normal 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
|
||||
Reference in New Issue
Block a user