bc: new package
authorMatt Weber <mlweber1@rockwellcollins.com>
Wed, 18 Sep 2013 04:26:41 +0000 (23:26 -0500)
committerPeter Korsgaard <jacmet@sunsite.dk>
Thu, 19 Sep 2013 19:04:38 +0000 (21:04 +0200)
Signed-off-by: Matt Weber <mlweber1@rockwellcollins.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
package/Config.in
package/bc/Config.in [new file with mode: 0644]
package/bc/bc.mk [new file with mode: 0644]

index ae0214caf97b6fd091c5c8065b57ecf8ad5a9d7d..e187aa3e4ad239258db49889087faa0dac35aeba 100644 (file)
@@ -733,6 +733,7 @@ endmenu
 
 menu "Miscellaneous"
 source "package/aespipe/Config.in"
+source "package/bc/Config.in"
 source "package/collectd/Config.in"
 source "package/empty/Config.in"
 source "package/googlefontdirectory/Config.in"
diff --git a/package/bc/Config.in b/package/bc/Config.in
new file mode 100644 (file)
index 0000000..a28978d
--- /dev/null
@@ -0,0 +1,14 @@
+config BR2_PACKAGE_BC
+       bool "bc"
+       help
+         'bc' is an arbitrary precision numeric processing language
+         Its 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.
+         This version does not use the historical method of having bc
+         be a compiler for the dc calculator (the POSIX document doesn't
+         specify how bc must be implemented). 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.
+
+         http://www.gnu.org/software/bc
diff --git a/package/bc/bc.mk b/package/bc/bc.mk
new file mode 100644 (file)
index 0000000..3f1f7e7
--- /dev/null
@@ -0,0 +1,17 @@
+################################################################################
+#
+# bc
+#
+################################################################################
+
+BC_VERSION = 1.06
+BC_SITE = $(BR2_GNU_MIRROR)/bc/
+BC_LICENSE = GPLv2+ LGPLv2.1+
+BC_LICENSE_FILES = COPYING COPYING.LIB
+
+# Build after busybox so target ends up with bc's "dc" version
+ifeq ($(BR2_PACKAGE_BUSYBOX),y)
+BC_DEPENDENCIES += busybox
+endif
+
+$(eval $(autotools-package))