1 ###############################################################################
2 # IPFire.org - An Open Source Firewall Solution #
3 # Copyright (C) - IPFire Development Team <info@ipfire.org> #
4 ###############################################################################
11 url = http://www.gnu.org/software/bc/
13 summary = bc is an arbitrary precision numeric processing language.
16 bc is a language that supports arbitrary precision numbers with \
17 interactive execution of statements. There are some similarities in the \
18 syntax to the C programming language.
21 source_dl = http://ftp.gnu.org/gnu/bc/
28 configure_options += \
29 --mandir=/usr/share/man \
33 sed -i '/PROTO.*readline/d' bc/scan.l
34 sed -i '/flex -I8/s/8//' configure
35 sed -i '/stdlib/a #include <string.h>' lib/number.c
36 sed -i 's/program.*save/static &/' bc/load.c