]> git.ipfire.org Git - people/arne_f/ipfire-3.x.git/blame - bc/bc.nm
cracklib: Fix setting password issue on x86_64 (#10074).
[people/arne_f/ipfire-3.x.git] / bc / bc.nm
CommitLineData
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
6name = bc
7version = 1.06
8release = 0
ad6556c4 9
802ea3af
MT
10groups = System/Tools
11url = http://www.gnu.org/software/bc/
12license = GPLv2+
13summary = bc is an arbitrary precision numeric processing language.
ad6556c4 14
802ea3af 15description
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
19end
20
21source_dl = http://ftp.gnu.org/gnu/bc/
22
23build
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
38end
39
40packages
41 package %{name}
42 end
1f9bc2f0
MT
43
44 package %{name}-debuginfo
45 template DEBUGINFO
46 end
802ea3af 47end