mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-20 19:41:34 +01:00
academic/xephem: Updated for version 4.1.0.
Signed-off-by: Andrew Clemons <andrew.clemons@gmail.com>
This commit is contained in:
parent
bf76f7ca67
commit
3dc88dda35
3 changed files with 16 additions and 15 deletions
|
@ -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:
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
|
@ -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=""
|
||||
|
|
Loading…
Reference in a new issue