academic/xephem: Updated for version 4.1.0.

Signed-off-by: Andrew Clemons <andrew.clemons@gmail.com>
This commit is contained in:
Dario Nicodemi 2023-08-12 09:42:33 +09:00 committed by Andrew Clemons
parent bf76f7ca67
commit 3dc88dda35
No known key found for this signature in database
GPG key ID: CD26380FFACBDA2B
3 changed files with 16 additions and 15 deletions

View file

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

View file

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

View file

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