aboutsummaryrefslogtreecommitdiff
path: root/ham
diff options
context:
space:
mode:
authorJK Wood <joshuakwood@gmail.com>2022-02-12 16:29:03 +0000
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2022-02-14 08:06:53 +0700
commit59ce8dea0ce67b78941400838411b8125a41a5a1 (patch)
tree81d5edb10722a3daf69e2144ea29155f61aa5475 /ham
parentb26287f2a001e3b62d1d45405618a8691dc84679 (diff)
ham/xnec2c: Updated for 4.4.5. Fix README.
Signed-off-by: Dave Woodfall <dave@slackbuilds.org> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'ham')
-rw-r--r--ham/xnec2c/README34
-rw-r--r--ham/xnec2c/xnec2c.SlackBuild6
-rw-r--r--ham/xnec2c/xnec2c.info6
3 files changed, 26 insertions, 20 deletions
diff --git a/ham/xnec2c/README b/ham/xnec2c/README
index e1975aa8ef805..281e24be28760 100644
--- a/ham/xnec2c/README
+++ b/ham/xnec2c/README
@@ -1,18 +1,22 @@
-xnec2c is a GTK+ graphical interactive version of nec2c. It incorporates
-the nec2c core which it uses for reading input files and calculating
-output data, but it does not need and indeed does not produce an output
-file by default. Since xnec2c incorporates the nec2c core, it has access
-to all internal buffers, including structure data, frequency-related
-data (structure currents, input impedance, gain etc) and radiation pattern
-data (for the far field and near field). It therefore has the ability to
-graphically display user-requested data directly, as the frequency loop
-progresses or after input from the user. Graphs of frequency-related data
-and the current or charge distribution evolve as the frequency loop
-progresses, and radiation patterns (far and near field) are sequentially
-drawn for each frequency step. A new frequency can be entered by the user
-from spin buttons in the main or radiation pattern windows or by clicking
-on the graphs of frequency-related data. New output data are then computed
-and displayed in text and graphical form.
+xnec2c is a GTK+ graphical interactive version of nec2c. It incorporates
+the nec2c core which it uses for reading input files and calculating
+output data, but it does not need and indeed does not produce an output
+file by default.
+
+Since xnec2c incorporates the nec2c core, it has access to all internal
+buffers, including structure data, frequency-related data (structure
+currents, input impedance, gain etc) and radiation pattern data (for the
+far field and near field). It therefore has the ability to graphically
+display user-requested data directly, as the frequency loop progresses
+or after input from the user.
+
+Graphs of frequency-related data and the current or charge distribution
+evolve as the frequency loop progresses, and radiation patterns (far and
+near field) are sequentially drawn for each frequency step. A new
+frequency can be entered by the user from spin buttons in the main or
+radiation pattern windows or by clicking on the graphs of
+frequency-related data. New output data are then computed and displayed
+in text and graphical form.
nec2c is a C translation of the Fortran nec2 code, which allows analysis
of antennas.
diff --git a/ham/xnec2c/xnec2c.SlackBuild b/ham/xnec2c/xnec2c.SlackBuild
index 1021f1490dfc5..c9fa8d7dec8d8 100644
--- a/ham/xnec2c/xnec2c.SlackBuild
+++ b/ham/xnec2c/xnec2c.SlackBuild
@@ -23,7 +23,7 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=xnec2c
-VERSION=${VERSION:-3.5.1}
+VERSION=${VERSION:-4.4.5}
BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -68,7 +68,7 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
-tar -xvf $CWD/$PRGNAM-$VERSION.tar.bz2
+tar -xvf $CWD/$PRGNAM-$VERSION.tar.gz
cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
@@ -77,6 +77,8 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+./autogen.sh
+
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \
diff --git a/ham/xnec2c/xnec2c.info b/ham/xnec2c/xnec2c.info
index 06aa906f8d1cd..362062b25a402 100644
--- a/ham/xnec2c/xnec2c.info
+++ b/ham/xnec2c/xnec2c.info
@@ -1,8 +1,8 @@
PRGNAM="xnec2c"
-VERSION="3.5.1"
+VERSION="4.4.5"
HOMEPAGE="https://www.qsl.net/5b4az/"
-DOWNLOAD="https://www.qsl.net/5b4az/pkg/nec2/xnec2c/xnec2c-3.5.1.tar.bz2"
-MD5SUM="1db7f26e070c421b6cfdc659002d4f6f"
+DOWNLOAD="https://github.com/KJ7LNW/xnec2c/archive/v4.4.5/xnec2c-4.4.5.tar.gz"
+MD5SUM="23ef440cd8fbfb78b47224fa9c1211e3"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""