]> git.ipfire.org Git - people/arne_f/ipfire-3.x.git/blob - bc/bc.nm
cracklib: Fix setting password issue on x86_64 (#10074).
[people/arne_f/ipfire-3.x.git] / bc / bc.nm
1 ###############################################################################
2 # IPFire.org - An Open Source Firewall Solution #
3 # Copyright (C) - IPFire Development Team <info@ipfire.org> #
4 ###############################################################################
5
6 name = bc
7 version = 1.06
8 release = 0
9
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.
14
15 description
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.
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
43
44 package %{name}-debuginfo
45 template DEBUGINFO
46 end
47 end