mirror of
https://github.com/Ponce/slackbuilds
synced 2024-12-02 13:04:42 +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------------------------------------------------------|
|
|-----handy-ruler------------------------------------------------------|
|
||||||
xephem: xephem (Astronomy program)
|
xephem: xephem (Astronomy program)
|
||||||
xephem:
|
xephem:
|
||||||
xephem: The scientific-grade interactive astronomical ephemeris
|
xephem: XEphem is an interactive astronomy program for all UNIX platforms.
|
||||||
xephem: software package for UNIX-like* systems.
|
xephem: Originally written by Elwood Downey in the 1990s, it has graciously
|
||||||
xephem:
|
xephem: been released under the MIT License. It is now maintained by an
|
||||||
xephem: Note that this is not free software: read the license
|
xephem: MIT License. It is now maintained by an "XEphem" organization,
|
||||||
xephem: agreement carefully.
|
xephem: with its source code residing at https://github.com/XEphem/XEphem.
|
||||||
xephem:
|
xephem:
|
||||||
xephem:
|
xephem:
|
||||||
xephem:
|
xephem:
|
||||||
|
|
|
@ -7,10 +7,11 @@
|
||||||
cd $(dirname $0) ; CWD=$(pwd)
|
cd $(dirname $0) ; CWD=$(pwd)
|
||||||
|
|
||||||
PRGNAM=xephem
|
PRGNAM=xephem
|
||||||
VERSION=${VERSION:-3.7.7}
|
VERSION=${VERSION:-4.1.0}
|
||||||
BUILD=${BUILD:-1}
|
BUILD=${BUILD:-1}
|
||||||
TAG=${TAG:-_SBo}
|
TAG=${TAG:-_SBo}
|
||||||
PKGTYPE=${PKGTYPE:-tgz}
|
PKGTYPE=${PKGTYPE:-tgz}
|
||||||
|
SRCNAM="XEphem"
|
||||||
|
|
||||||
if [ -z "$ARCH" ]; then
|
if [ -z "$ARCH" ]; then
|
||||||
case "$( uname -m )" in
|
case "$( uname -m )" in
|
||||||
|
@ -51,9 +52,9 @@ set -e
|
||||||
rm -rf $PKG
|
rm -rf $PKG
|
||||||
mkdir -p $TMP $PKG $OUTPUT
|
mkdir -p $TMP $PKG $OUTPUT
|
||||||
cd $TMP
|
cd $TMP
|
||||||
rm -rf $PRGNAM-$VERSION
|
rm -rf $SRCNAM-$VERSION
|
||||||
tar xvf $CWD/$PRGNAM-$VERSION.tgz
|
tar xvf $CWD/$SRCNAM-$VERSION.tar.gz
|
||||||
cd $PRGNAM-$VERSION
|
cd $SRCNAM-$VERSION
|
||||||
chown -R root:root .
|
chown -R root:root .
|
||||||
find -L . \
|
find -L . \
|
||||||
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 -o -perm 511 \) \
|
\( -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
|
cd GUI/xephem
|
||||||
patch -p3 < $CWD/00_trailmenu.patch
|
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}
|
mkdir -p $PKG/usr/{bin,man/man1,share/xephem}
|
||||||
cp xephem $PKG/usr/bin
|
cp xephem $PKG/usr/bin
|
||||||
cp XEphem.png $PKG/usr/share/xephem
|
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
|
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
|
||||||
cp -a \
|
cp -a \
|
||||||
Copyright INSTALL README \
|
INSTALL LICENSE README.md \
|
||||||
$PKG/usr/doc/$PRGNAM-$VERSION
|
$PKG/usr/doc/$PRGNAM-$VERSION
|
||||||
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
|
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
|
||||||
|
|
||||||
|
|
|
@ -1,8 +1,8 @@
|
||||||
PRGNAM="xephem"
|
PRGNAM="xephem"
|
||||||
VERSION="3.7.7"
|
VERSION="4.1.0"
|
||||||
HOMEPAGE="http://www.clearskyinstitute.com/xephem/"
|
HOMEPAGE="https://xephem.github.io/XEphem/Site/xephem.html"
|
||||||
DOWNLOAD="http://www.clearskyinstitute.com/xephem/xephem-3.7.7.tgz"
|
DOWNLOAD="https://github.com/XEphem/XEphem/archive/4.1.0/XEphem-4.1.0.tar.gz"
|
||||||
MD5SUM="27c67061a89085bf2b0d4e9deb758a79"
|
MD5SUM="14b5aafd6d8cbfe3d261fc4661e04caa"
|
||||||
DOWNLOAD_x86_64=""
|
DOWNLOAD_x86_64=""
|
||||||
MD5SUM_x86_64=""
|
MD5SUM_x86_64=""
|
||||||
REQUIRES=""
|
REQUIRES=""
|
||||||
|
|
Loading…
Reference in a new issue