graphics/gnofract4d: Updated for version 4.3.
Signed-off-by: Dimitris Zlatanidis <d.zlatanidis@gmail.com> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
parent
3c45f240e3
commit
451c4d1909
|
@ -2,7 +2,7 @@
|
||||||
|
|
||||||
# Slackware build script for gnofract4d
|
# Slackware build script for gnofract4d
|
||||||
|
|
||||||
# Copyright 2014-2016 Dimitris Zlatanidis Orestiada, Greece
|
# Copyright 2014-2024 Dimitris Zlatanidis Orestiada, Greece
|
||||||
# All rights reserved.
|
# All rights reserved.
|
||||||
#
|
#
|
||||||
# Redistribution and use of this script, with or without modification, is
|
# Redistribution and use of this script, with or without modification, is
|
||||||
|
@ -25,13 +25,11 @@
|
||||||
cd $(dirname $0) ; CWD=$(pwd)
|
cd $(dirname $0) ; CWD=$(pwd)
|
||||||
|
|
||||||
PRGNAM=gnofract4d
|
PRGNAM=gnofract4d
|
||||||
VERSION=${VERSION:-3.14.1}
|
VERSION=${VERSION:-4.3}
|
||||||
BUILD=${BUILD:-2}
|
BUILD=${BUILD:-1}
|
||||||
TAG=${TAG:-_SBo}
|
TAG=${TAG:-_SBo}
|
||||||
PKGTYPE=${PKGTYPE:-tgz}
|
PKGTYPE=${PKGTYPE:-tgz}
|
||||||
|
|
||||||
SRCVER=V_$(echo $VERSION | tr . _)
|
|
||||||
|
|
||||||
if [ -z "$ARCH" ]; then
|
if [ -z "$ARCH" ]; then
|
||||||
case "$( uname -m )" in
|
case "$( uname -m )" in
|
||||||
i?86) ARCH=i586 ;;
|
i?86) ARCH=i586 ;;
|
||||||
|
@ -71,9 +69,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-$SRCVER
|
rm -rf $PRGNAM-$VERSION
|
||||||
tar xvf $CWD/$PRGNAM-$SRCVER.tar.gz || tar xvf $CWD/$SRCVER.tar.gz
|
tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
|
||||||
cd $PRGNAM-$SRCVER
|
cd $PRGNAM-$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 \
|
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
|
||||||
|
@ -81,7 +79,7 @@ find -L . \
|
||||||
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
|
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
|
||||||
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
|
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
|
||||||
|
|
||||||
python setup.py install --root=$PKG
|
python3 setup.py install --root=$PKG
|
||||||
|
|
||||||
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
|
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
|
||||||
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
|
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
|
||||||
|
@ -93,7 +91,7 @@ find $PKG/usr/man -type f -name "*.?" -exec gzip -9f {} \;
|
||||||
rm -rf $PKG/usr/share/doc
|
rm -rf $PKG/usr/share/doc
|
||||||
|
|
||||||
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
|
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
|
||||||
cp -a COPYING README Todo $PKG/usr/doc/$PRGNAM-$VERSION
|
cp -a README.md LICENSE Todo $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,10 +1,10 @@
|
||||||
PRGNAM="gnofract4d"
|
PRGNAM="gnofract4d"
|
||||||
VERSION="3.14.1"
|
VERSION="4.3"
|
||||||
HOMEPAGE="https://github.com/edyoung/gnofract4d"
|
HOMEPAGE="https://github.com/fract4d/gnofract4d"
|
||||||
DOWNLOAD="https://github.com/edyoung/gnofract4d/archive/V_3_14_1.tar.gz"
|
DOWNLOAD="https://github.com/fract4d/gnofract4d/archive/v4.3/gnofract4d-4.3.tar.gz"
|
||||||
MD5SUM="0872b6acefa9123205e099c9e174a791"
|
MD5SUM="d815353c682eab9787e2fdad26f625ba"
|
||||||
DOWNLOAD_x86_64=""
|
DOWNLOAD_x86_64=""
|
||||||
MD5SUM_x86_64=""
|
MD5SUM_x86_64=""
|
||||||
REQUIRES=""
|
REQUIRES=""
|
||||||
MAINTAINER="Dimitris Zlatanidis"
|
MAINTAINER="Dimitris Zlatanidis"
|
||||||
EMAIL="d.zlatanidis@gmail.com"
|
EMAIL="dslackw@gmail.com"
|
||||||
|
|
|
@ -12,7 +12,7 @@ gnofract4d: Gnofract 4D is a program which allows you to create varied fractal
|
||||||
gnofract4d: images such as the Mandelbrot set and many more. It provides a
|
gnofract4d: images such as the Mandelbrot set and many more. It provides a
|
||||||
gnofract4d: compiler so you can create your own formulas.
|
gnofract4d: compiler so you can create your own formulas.
|
||||||
gnofract4d:
|
gnofract4d:
|
||||||
gnofract4d: Homepage: http://gnofract4d.sourceforge.net/
|
gnofract4d: Homepage: https://github.com/fract4d/gnofract4d
|
||||||
gnofract4d:
|
gnofract4d:
|
||||||
gnofract4d:
|
gnofract4d:
|
||||||
gnofract4d:
|
gnofract4d:
|
||||||
|
|
Loading…
Reference in New Issue