bc: add download mirrors
Add three download mirrors for 'bc', as the Makefile currently defines only
one download location.
@GNU can not be used, as the most recent version of 'bc' is not available at
the general GNU mirrors, and can only be found at the "gnu-alpha" mirrors.
Signed-off-by: Hannu Nyman <hannu.nyman at iki.fi>
---
Patch v2 corrects whitespace in the Makefile.
A forum discussion brought 'bc' download problems into my attention:
https://forum.openwrt.org/viewtopic.php?id=57803
The package Makefile defines only a single download server and the file is
not available at the Openwrt mirrors.
The most recent 'bc' is not available in most of the GNU mirrors, so @GNU is
unusable. I searched a bit and found three mirrors of "GNU alpha", which I
added to the Makefile.
Index: tools/bc/Makefile
===================================================================
--- tools/bc/Makefile (revision 45907)
+++ tools/bc/Makefile (working copy)
@@ -10,7 +10,10 @@
PKG_VERSION:=1.06.95
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
-PKG_SOURCE_URL:=http://alpha.gnu.org/gnu/bc
+PKG_SOURCE_URL:=http://alpha.gnu.org/gnu/bc \
+ http://gnualpha.uib.no/bc/ \
+ http://mirrors.fe.up.pt/pub/gnu-alpha/bc/ \
+ http://www.nic.funet.fi/pub/gnu/alpha/gnu/bc/
PKG_MD5SUM:=5126a721b73f97d715bb72c13c889035
include $(INCLUDE_DIR)/host-build.mk
_______________________________________________
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel