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>
This commit is contained in:
JK Wood 2022-02-12 16:29:03 +00:00 committed by Willy Sudiarto Raharjo
parent b26287f2a0
commit 59ce8dea0c
No known key found for this signature in database
GPG Key ID: 3F617144D7238786
3 changed files with 26 additions and 20 deletions

View File

@ -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.

View File

@ -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 \

View File

@ -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=""