summaryrefslogtreecommitdiffstats
path: root/academic/xephem
diff options
context:
space:
mode:
author Dario Nicodemi <dario.sbo@gmail.com>2023-08-12 09:42:33 +0900
committer Andrew Clemons <andrew.clemons@gmail.com>2023-08-12 09:42:58 +0900
commit3dc88dda350c4a71708084d3c50480be3af47906 (patch)
tree2751cba095a8b090121777614915981ff8bc1abc /academic/xephem
parentbf76f7ca67d73cf75c2b6345ae23805a2d116f3d (diff)
downloadslackbuilds-3dc88dda350c4a71708084d3c50480be3af47906.tar.gz
slackbuilds-3dc88dda350c4a71708084d3c50480be3af47906.tar.xz
academic/xephem: Updated for version 4.1.0.
Signed-off-by: Andrew Clemons <andrew.clemons@gmail.com>
Diffstat (limited to 'academic/xephem')
-rw-r--r--academic/xephem/slack-desc10
-rw-r--r--academic/xephem/xephem.SlackBuild13
-rw-r--r--academic/xephem/xephem.info8
3 files changed, 16 insertions, 15 deletions
diff --git a/academic/xephem/slack-desc b/academic/xephem/slack-desc
index 7af4a92da3..6a8ac39af8 100644
--- a/academic/xephem/slack-desc
+++ b/academic/xephem/slack-desc
@@ -8,11 +8,11 @@
|-----handy-ruler------------------------------------------------------|
xephem: xephem (Astronomy program)
xephem:
-xephem: The scientific-grade interactive astronomical ephemeris
-xephem: software package for UNIX-like* systems.
-xephem:
-xephem: Note that this is not free software: read the license
-xephem: agreement carefully.
+xephem: XEphem is an interactive astronomy program for all UNIX platforms.
+xephem: Originally written by Elwood Downey in the 1990s, it has graciously
+xephem: been released under the MIT License. It is now maintained by an
+xephem: MIT License. It is now maintained by an "XEphem" organization,
+xephem: with its source code residing at https://github.com/XEphem/XEphem.
xephem:
xephem:
xephem:
diff --git a/academic/xephem/xephem.SlackBuild b/academic/xephem/xephem.SlackBuild
index 70af0d12aa..8747d3db80 100644
--- a/academic/xephem/xephem.SlackBuild
+++ b/academic/xephem/xephem.SlackBuild
@@ -7,10 +7,11 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=xephem
-VERSION=${VERSION:-3.7.7}
+VERSION=${VERSION:-4.1.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
+SRCNAM="XEphem"
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -51,9 +52,9 @@ set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
-rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tgz
-cd $PRGNAM-$VERSION
+rm -rf $SRCNAM-$VERSION
+tar xvf $CWD/$SRCNAM-$VERSION.tar.gz
+cd $SRCNAM-$VERSION
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 -o -perm 511 \) \
@@ -67,7 +68,7 @@ sed -i 's/^CFLAGS =/override CFLAGS +=/g' GUI/xephem/Makefile
cd GUI/xephem
patch -p3 < $CWD/00_trailmenu.patch
- make -j1 CFLAGS="$SLKCFLAGS" CLDFLAGS="" MOTIFL="/usr/lib$LIBDIRSUFFIX" || exit 1
+ make -j1 CFLAGS="$SLKCFLAGS" CLDFLAGS="" MOTIFL="/usr/lib$LIBDIRSUFFIX"
mkdir -p $PKG/usr/{bin,man/man1,share/xephem}
cp xephem $PKG/usr/bin
cp XEphem.png $PKG/usr/share/xephem
@@ -100,7 +101,7 @@ find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a \
- Copyright INSTALL README \
+ INSTALL LICENSE README.md \
$PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
diff --git a/academic/xephem/xephem.info b/academic/xephem/xephem.info
index 4a17ddb0d2..69028f4e5b 100644
--- a/academic/xephem/xephem.info
+++ b/academic/xephem/xephem.info
@@ -1,8 +1,8 @@
PRGNAM="xephem"
-VERSION="3.7.7"
-HOMEPAGE="http://www.clearskyinstitute.com/xephem/"
-DOWNLOAD="http://www.clearskyinstitute.com/xephem/xephem-3.7.7.tgz"
-MD5SUM="27c67061a89085bf2b0d4e9deb758a79"
+VERSION="4.1.0"
+HOMEPAGE="https://xephem.github.io/XEphem/Site/xephem.html"
+DOWNLOAD="https://github.com/XEphem/XEphem/archive/4.1.0/XEphem-4.1.0.tar.gz"
+MD5SUM="14b5aafd6d8cbfe3d261fc4661e04caa"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""