]>
Commit | Line | Data |
---|---|---|
ad6556c4 | 1 | ############################################################################### |
802ea3af MT |
2 | # IPFire.org - An Open Source Firewall Solution # |
3 | # Copyright (C) - IPFire Development Team <info@ipfire.org> # | |
ad6556c4 MT |
4 | ############################################################################### |
5 | ||
802ea3af MT |
6 | name = bc |
7 | version = 1.06 | |
8 | release = 0 | |
ad6556c4 | 9 | |
802ea3af MT |
10 | groups = System/Tools |
11 | url = http://www.gnu.org/software/bc/ | |
12 | license = GPLv2+ | |
13 | summary = bc is an arbitrary precision numeric processing language. | |
ad6556c4 | 14 | |
802ea3af | 15 | description |
ad6556c4 MT |
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. | |
802ea3af MT |
19 | end |
20 | ||
21 | source_dl = http://ftp.gnu.org/gnu/bc/ | |
22 | ||
23 | build | |
24 | requires | |
25 | flex | |
26 | end | |
27 | ||
28 | configure_options += \ | |
29 | --mandir=/usr/share/man \ | |
30 | --disable-static | |
31 | ||
32 | prepare_cmds | |
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 | |
37 | end | |
38 | end | |
39 | ||
40 | packages | |
41 | package %{name} | |
42 | end | |
1f9bc2f0 MT |
43 | |
44 | package %{name}-debuginfo | |
45 | template DEBUGINFO | |
46 | end | |
802ea3af | 47 | end |