new package: add package 'bc' needed for upcoming installer

Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
Stephan Raue 2010-07-03 18:30:22 +02:00
parent 72b6f6c433
commit e03741aad8
3 changed files with 21 additions and 0 deletions

14
packages/tools/bc/build Executable file
View File

@ -0,0 +1,14 @@
#!/bin/sh
. config/options
$SCRIPTS/build toolchain
cd $PKG_BUILD
./configure --host=$TARGET_NAME \
--build=$HOST_NAME \
--prefix=/usr \
--disable-nls \
make

6
packages/tools/bc/install Executable file
View File

@ -0,0 +1,6 @@
#!/bin/sh
. config/options
mkdir -p $INSTALL/usr/bin
cp $PKG_BUILD/bc/bc $INSTALL/usr/bin

1
packages/tools/bc/url Normal file
View File

@ -0,0 +1 @@
ftp://ftp.gnu.org/gnu/bc/bc-1.06.tar.gz