From ee8e31100949f03e69311e03d1ed29bed27d922d Mon Sep 17 00:00:00 2001 From: Stephan Raue Date: Sat, 24 Jul 2010 11:08:51 +0200 Subject: [PATCH] bc: add metafile support Signed-off-by: Stephan Raue --- packages/tools/bc/build | 2 -- packages/tools/bc/meta | 14 ++++++++++++++ packages/tools/bc/url | 1 - 3 files changed, 14 insertions(+), 3 deletions(-) create mode 100644 packages/tools/bc/meta delete mode 100644 packages/tools/bc/url diff --git a/packages/tools/bc/build b/packages/tools/bc/build index 8ef42daee2..13aed4ee90 100755 --- a/packages/tools/bc/build +++ b/packages/tools/bc/build @@ -2,8 +2,6 @@ . config/options $1 -$SCRIPTS/build toolchain - cd $PKG_BUILD ./configure --host=$TARGET_NAME \ diff --git a/packages/tools/bc/meta b/packages/tools/bc/meta new file mode 100644 index 0000000000..be9756ab05 --- /dev/null +++ b/packages/tools/bc/meta @@ -0,0 +1,14 @@ +PKG_NAME="bc" +PKG_VERSION="1.06" +PKG_REV="1" +PKG_ARCH="any" +PKG_LICENSE="GPL" +PKG_SITE="http://www.gnu.org/software/bc/bc.html" +PKG_URL="ftp://ftp.gnu.org/gnu/$PKG_NAME/$PKG_NAME-$PKG_VERSION.tar.gz" +PKG_DEPENDS="" +PKG_BUILD_DEPENDS="toolchain" +PKG_PRIORITY="optional" +PKG_SECTION="tools" +PKG_SHORTDESC="bc: GNU's numeric processing language and a calculator" +PKG_LONGDESC="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. Since the POSIX document does not specify how bc must be implemented, this version does not use the historical method of having bc be a compiler for the dc calculator. This version has a single executable that both compiles the language and runs the resulting `byte code'. The byte code is not the dc language." +PKG_IS_ADDON="no" diff --git a/packages/tools/bc/url b/packages/tools/bc/url deleted file mode 100644 index ff437a421a..0000000000 --- a/packages/tools/bc/url +++ /dev/null @@ -1 +0,0 @@ -ftp://ftp.gnu.org/gnu/bc/bc-1.06.tar.gz \ No newline at end of file