summaryrefslogtreecommitdiffstats
path: root/meta/recipes-extended/bc/bc_1.08.1.bb
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-extended/bc/bc_1.08.1.bb')
-rw-r--r--meta/recipes-extended/bc/bc_1.08.1.bb32
1 files changed, 32 insertions, 0 deletions
diff --git a/meta/recipes-extended/bc/bc_1.08.1.bb b/meta/recipes-extended/bc/bc_1.08.1.bb
new file mode 100644
index 0000000000..473d78d8a7
--- /dev/null
+++ b/meta/recipes-extended/bc/bc_1.08.1.bb
@@ -0,0 +1,32 @@
1SUMMARY = "Arbitrary precision calculator language"
2HOMEPAGE = "http://www.gnu.org/software/bc/bc.html"
3DESCRIPTION = "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."
4
5LICENSE = "GPL-3.0-or-later"
6LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504 \
7 file://COPYING.LIB;md5=6a6a8e020838b23406c81b19c1d46df6 \
8 file://bc/bcdefs.h;endline=17;md5=4295c06df9e833519a342f7b5d43db06 \
9 file://dc/dc.h;endline=18;md5=bad31533d57fe5948c996f9ef6643206 \
10 file://lib/number.c;endline=20;md5=cf43068cc88f837731dc53240456cfaf"
11
12SECTION = "base"
13DEPENDS = "flex-native"
14
15SRC_URI = "${GNU_MIRROR}/${BPN}/${BP}.tar.gz \
16 file://run-ptest"
17SRC_URI[sha256sum] = "b71457ffeb210d7ea61825ff72b3e49dc8f2c1a04102bbe23591d783d1bfe996"
18
19inherit autotools texinfo update-alternatives ptest
20
21PACKAGECONFIG ??= "readline"
22PACKAGECONFIG[readline] = "--with-readline,--without-readline,readline"
23PACKAGECONFIG[libedit] = "--with-libedit,--without-libedit,libedit"
24
25do_install_ptest() {
26 install ${S}/Test/*.b ${D}${PTEST_PATH}
27}
28
29ALTERNATIVE:${PN} = "bc dc"
30ALTERNATIVE_PRIORITY = "100"
31
32BBCLASSEXTEND = "native nativesdk"