[Slackbuilds-users] Small typo in ngspice README file
Luiz Carlos Ramos
lramos.prof at yahoo.com.br
Sat Nov 9 00:19:16 UTC 2019
Hello,
Today I tried to build ngspice version 4.7.0, and the scripts I use to
do it behaved abnormally. Tracing what happened, I found a trailing
slash in the first source file listed in the DOWNLOAD field of the
"info" file. This slash fooled wget and it downloaded an index file
instead of the compressed source code.
Below I attach a git patch which hopefully solves this small typo.
Many thanks,
Luiz Ramos
Sao Paulo - Brazil
lramos dot prof at yahoo dot com dot br
Subject: [PATCH] academic/ngspice: fixed download URL in info file
The DOWNLOAD field of the info file quoted two file URLs, but the first
one had a trailing slash that fooled wget, making it act as it was a
directory and eventually downloading an index.html file.
-- Luiz Ramos, 08/Nov/2019
---
academic/ngspice/ngspice.info | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/academic/ngspice/ngspice.info b/academic/ngspice/ngspice.info
index d6e488aa34..cc47ace1ae 100644
--- a/academic/ngspice/ngspice.info
+++ b/academic/ngspice/ngspice.info
@@ -1,7 +1,7 @@
PRGNAM="ngspice"
VERSION="31"
HOMEPAGE="http://ngspice.sourceforge.net/"
-DOWNLOAD="https://sourceforge.net/projects/ngspice/files/ng-spice-rework/31/ngspice-31.tar.gz/ \
+DOWNLOAD="https://sourceforge.net/projects/ngspice/files/ng-spice-rework/31/ngspice-31.tar.gz \
https://sourceforge.net/projects/ngspice/files/ng-spice-rework/31/ngspice-31-manual.pdf"
MD5SUM="f50b4d8c6ecbf01acf121cd9edc3baab \
cd746e20a1a23889acab51d918cc1f77"
--
2.14.5
More information about the SlackBuilds-users
mailing list