diff options
author | Matteo Bernardini <ponce@slackbuilds.org> | 2022-02-24 22:39:12 +0100 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2022-02-25 22:58:10 +0700 |
commit | 8d74a26ae51a751ae4e85d0ce8ba56b4d125bee7 (patch) | |
tree | 356ff8247bc5534c864634a6c9ad98de3c90a7dc /graphics/mlbrot/mlbrot.SlackBuild | |
parent | 68804e329fa5a1d8a4e98d973716fe374c4516d7 (diff) |
graphics/mlbrot: Removed (ftb).
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'graphics/mlbrot/mlbrot.SlackBuild')
-rw-r--r-- | graphics/mlbrot/mlbrot.SlackBuild | 68 |
1 files changed, 0 insertions, 68 deletions
diff --git a/graphics/mlbrot/mlbrot.SlackBuild b/graphics/mlbrot/mlbrot.SlackBuild deleted file mode 100644 index 6553841cb387e..0000000000000 --- a/graphics/mlbrot/mlbrot.SlackBuild +++ /dev/null @@ -1,68 +0,0 @@ -#!/bin/bash - -# Slackware build script for mlbrot - -# Written by adaptr (jeroen@adaptr.nl) - -cd $(dirname $0) ; CWD=$(pwd) - -PRGNAM=mlbrot -VERSION=${VERSION:-1.01} -BUILD=${BUILD:-1} -TAG=${TAG:-_SBo} -PKGTYPE=${PKGTYPE:-tgz} - -if [ -z "$ARCH" ]; then - case "$( uname -m )" in - i?86) ARCH=i486 ;; - arm*) ARCH=arm ;; - *) ARCH=$( uname -m ) ;; - 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 -fi - -TMP=${TMP:-/tmp/SBo} -PKG=$TMP/package-$PRGNAM -OUTPUT=${OUTPUT:-/tmp} - -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 -chown -R root:root . -find -L . \ - \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ - -o -perm 511 \) -exec chmod 755 {} \; -o \ - \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ - -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; - -sed -i 's|gtkdir="+lablgtk2"|gtkdir="+site-lib/lablgtk2"|' configure -./configure --no-mpz -sed -i 's|-warn-error A|-warn-error -A|' Makefile - -make - -## no make install, or other fancy-pants -mkdir -p $PKG/usr/bin -cp mlbrot mlbrot_slave $PKG/usr/bin/ - -mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a CHANGES LICENSE README REFERENCES $PKG/usr/doc/$PRGNAM-$VERSION -cp $CWD/$PRGNAM.SlackBuild $PKG/usr/doc/$PRGNAM-$VERSION/ - -mkdir -p $PKG/install -cat $CWD/slack-desc > $PKG/install/slack-desc - -cd $PKG -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE |