From 59ce8dea0ce67b78941400838411b8125a41a5a1 Mon Sep 17 00:00:00 2001 From: JK Wood Date: Sat, 12 Feb 2022 16:29:03 +0000 Subject: ham/xnec2c: Updated for 4.4.5. Fix README. Signed-off-by: Dave Woodfall Signed-off-by: Willy Sudiarto Raharjo --- ham/xnec2c/README | 34 +++++++++++++++++++--------------- ham/xnec2c/xnec2c.SlackBuild | 6 ++++-- ham/xnec2c/xnec2c.info | 6 +++--- 3 files changed, 26 insertions(+), 20 deletions(-) (limited to 'ham/xnec2c') diff --git a/ham/xnec2c/README b/ham/xnec2c/README index e1975aa8ef..281e24be28 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 1021f1490d..c9fa8d7dec 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 06aa906f8d..362062b25a 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="" -- cgit v1.2.3-65-gdbad