mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-20 19:41:34 +01:00
academic/geomview: Updated for version 1.9.5.
Signed-off-by: bedlam <dave@slackbuilds.org> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
parent
7680cfa661
commit
3a17c00937
4 changed files with 51 additions and 28 deletions
|
@ -1,9 +1,9 @@
|
|||
Geomview is an interactive 3D viewing program for Unix.
|
||||
|
||||
Geomview lets you view and manipulate three-dimensional objects: you
|
||||
use the mouse to rotate, translate, zoom in and out, and so on.
|
||||
Geomview lets you view and manipulate three-dimensional objects:
|
||||
you use the mouse to rotate, translate, zoom in and out, and so on.
|
||||
Geomview can be used as a standalone viewer for static objects (it
|
||||
supports a variety of file formats) or as a display engine for other
|
||||
programs which produce dynamically changing geometry.
|
||||
|
||||
This slackBuild uses the configure option --with-opengl.
|
||||
This SlackBuild uses the configure option --with-opengl.
|
||||
|
|
|
@ -2,14 +2,34 @@
|
|||
|
||||
# Slackware build script for geomview
|
||||
|
||||
# Written by (Jorge Barros de Abreu)
|
||||
# (http://sites.google.com/site/ficmatinf)
|
||||
# Copyright 2013 Jorge Barros de Abreu
|
||||
# 2013-2022 Maintained by the SBo team
|
||||
# 2023 Updated to 1.9.5 by Philip Lacroix <slackph at posteo dot de>
|
||||
#
|
||||
# All rights reserved.
|
||||
#
|
||||
# Redistribution and use of this script, with or without modification, is
|
||||
# permitted provided that the following conditions are met:
|
||||
#
|
||||
# 1. Redistributions of this script must retain the above copyright
|
||||
# notice, this list of conditions and the following disclaimer.
|
||||
#
|
||||
# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED
|
||||
# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
|
||||
# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
|
||||
# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
||||
# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
|
||||
# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
|
||||
# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
|
||||
# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
|
||||
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
|
||||
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
|
||||
cd $(dirname $0) ; CWD=$(pwd)
|
||||
|
||||
PRGNAM=geomview
|
||||
VERSION=${VERSION:-1.9.4}
|
||||
BUILD=${BUILD:-2}
|
||||
VERSION=${VERSION:-1.9.5}
|
||||
BUILD=${BUILD:-1}
|
||||
TAG=${TAG:-_SBo}
|
||||
PKGTYPE=${PKGTYPE:-tgz}
|
||||
|
||||
|
@ -21,9 +41,6 @@ if [ -z "$ARCH" ]; then
|
|||
esac
|
||||
fi
|
||||
|
||||
# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
|
||||
# the name of the created package would be, and then exit. This information
|
||||
# could be useful to other scripts.
|
||||
if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
|
||||
echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
|
||||
exit 0
|
||||
|
@ -62,10 +79,6 @@ find -L . \
|
|||
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
|
||||
-exec chmod 644 {} \;
|
||||
|
||||
#
|
||||
#geomview compilation
|
||||
#
|
||||
|
||||
CFLAGS="$SLKCFLAGS" \
|
||||
CXXFLAGS="$SLKCFLAGS" \
|
||||
./configure \
|
||||
|
@ -96,12 +109,22 @@ for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; r
|
|||
gzip -c -9 $PRGNAM-2 > $PRGNAM.info-2.gz
|
||||
rm -fr dir figs $PRGNAM-* $PRGNAM )
|
||||
|
||||
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
|
||||
# Install documentation.
|
||||
PRGDOC=$PKG/usr/doc/$PRGNAM-$VERSION
|
||||
mkdir -p $PRGDOC
|
||||
cp -a \
|
||||
doc/figs doc/*.txt doc/*.c doc/*.tcl doc/README* doc/*.gvplot doc/oogltour* \
|
||||
$PKG/usr/doc/$PRGNAM-$VERSION
|
||||
rm -f $PKG/usr/doc/$PRGNAM-$VERSION/*.pdf # We already have the html ones
|
||||
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
|
||||
$PRGDOC
|
||||
#
|
||||
# Move plain text files (no troff) to /usr/doc.
|
||||
( cd $PKG/usr/man/man3
|
||||
zcat lisp.3gv.gz > $PRGDOC/lisp.txt
|
||||
rm -rf lisp.3gv.gz )
|
||||
( cd $PKG/usr/man/man5
|
||||
zcat geomview.5gv.gz > $PRGDOC/geomview.txt
|
||||
zcat oogl.5gv.gz > $PRGDOC/oogl.txt
|
||||
rm -rf geomview.5gv.gz oogl.5gv.gz )
|
||||
cat $CWD/$PRGNAM.SlackBuild > $PRGDOC/$PRGNAM.SlackBuild
|
||||
|
||||
rm -f $PKG/usr/lib*/*.la
|
||||
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
PRGNAM="geomview"
|
||||
VERSION="1.9.4"
|
||||
VERSION="1.9.5"
|
||||
HOMEPAGE="http://www.geomview.org"
|
||||
DOWNLOAD="http://downloads.sourceforge.net/geomview/geomview-1.9.4.tar.gz"
|
||||
MD5SUM="29c7e6d678af7b9968980f92954419bb"
|
||||
DOWNLOAD="https://downloads.sourceforge.net/geomview/geomview-1.9.5.tar.gz"
|
||||
MD5SUM="98ada147dfcbabca7c48137590e74a85"
|
||||
DOWNLOAD_x86_64=""
|
||||
MD5SUM_x86_64=""
|
||||
REQUIRES=""
|
||||
|
|
|
@ -8,12 +8,12 @@
|
|||
|-----handy-ruler------------------------------------------------------|
|
||||
geomview: geomview (3D geometrical package)
|
||||
geomview:
|
||||
geomview: Geomview is an interactive 3D viewing program for Unix.
|
||||
geomview: Geomview lets you view and manipulate three-dimensional objects: you
|
||||
geomview: use the mouse to rotate, translate, zoom in and out, and so on.
|
||||
geomview: Geomview can be used as a standalone viewer for static objects (it
|
||||
geomview: supports a variety of file formats) or as a display engine for other
|
||||
geomview: programs which produce dynamically changing geometry.
|
||||
geomview: Geomview is an interactive 3D viewing program for Unix. It lets you
|
||||
geomview: view and manipulate three-dimensional objects: you use the mouse to
|
||||
geomview: rotate, translate, zoom in and out, etc. Geomview can be used as a
|
||||
geomview: standalone viewer for static objects (it supports a variety of file
|
||||
geomview: formats) or as a display engine for other programs which produce
|
||||
geomview: dynamically changing geometry.
|
||||
geomview:
|
||||
geomview: homepage: http://www.geomview.org
|
||||
geomview: Homepage: http://www.geomview.org
|
||||
geomview:
|
||||
|
|
Loading…
Reference in a new issue