]> git.ipfire.org Git - ipfire-3.x.git/blobdiff - bc/bc.nm
bc: Update to 1.07.1
[ipfire-3.x.git] / bc / bc.nm
index 9b91ebd4caae02d1f67c398d5cdf4e73187a02de..9281b9639e42cb0f7408d10d74bb60d15bdca7b2 100644 (file)
--- a/bc/bc.nm
+++ b/bc/bc.nm
@@ -4,42 +4,40 @@
 ###############################################################################
 
 name       = bc
-version    = 1.06
-release    = 0
+version    = 1.07.1
+release    = 1
 
 groups     = System/Tools
-url        = http://www.gnu.org/software/bc/
+url        = https://www.gnu.org/software/bc/
 license    = GPLv2+
 summary    = bc is an arbitrary precision numeric processing language.
 
 description
-       bc is a language that supports arbitrary precision numbers with \
-       interactive execution of statements. There are some similarities in the \
+       bc is a language that supports arbitrary precision numbers with
+       interactive execution of statements. There are some similarities in the
        syntax to the C programming language.
 end
 
-source_dl  = http://ftp.gnu.org/gnu/bc/
+source_dl  = https://ftp.gnu.org/gnu/bc/
 
 build
        requires
+               ed
                flex
+               readline-devel
+               texinfo
        end
 
        configure_options += \
-               --mandir=/usr/share/man \
-               --disable-static
-
-       prepare_cmds
-               sed -i '/PROTO.*readline/d' bc/scan.l
-               sed -i '/flex -I8/s/8//' configure
-               sed -i '/stdlib/a #include <string.h>' lib/number.c
-               sed -i 's/program.*save/static &/' bc/load.c
+               --with-readline
+
+       test
+               echo "quit" | ./bc/bc -l Test/checklib.b
        end
 end
 
 packages
        package %{name}
-       end
 
        package %{name}-debuginfo
                template DEBUGINFO