summaryrefslogtreecommitdiff
path: root/graphics/mlbrot
diff options
context:
space:
mode:
authorMarcel Saegebarth <marc@mos6581.de>2015-01-16 00:00:46 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2015-01-16 00:00:46 +0700
commit164c0fc973e1a659b7209143bfbe53993bc360be (patch)
treeb04e6e450075125d9574d8037fd2a68242440303 /graphics/mlbrot
parent77520ca35ec211643cd8764a21b64c5023f5ae46 (diff)
downloadslackbuilds-164c0fc973e1a659b7209143bfbe53993bc360be.tar.gz
graphics/mlbrot: Fix build.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'graphics/mlbrot')
-rw-r--r--graphics/mlbrot/mlbrot.SlackBuild17
1 files changed, 7 insertions, 10 deletions
diff --git a/graphics/mlbrot/mlbrot.SlackBuild b/graphics/mlbrot/mlbrot.SlackBuild
index 5a9e425abd..19f70b5fe9 100644
--- a/graphics/mlbrot/mlbrot.SlackBuild
+++ b/graphics/mlbrot/mlbrot.SlackBuild
@@ -6,7 +6,7 @@
PRGNAM=mlbrot
VERSION=${VERSION:-1.00}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
@@ -32,11 +32,12 @@ 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 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
- -exec chmod 644 {} \;
+ \( -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
make
@@ -45,12 +46,8 @@ make
mkdir -p $PKG/usr/bin
cp mlbrot mlbrot_slave $PKG/usr/bin/
-# Copy program documentation into the package
-# Also, include the SlackBuild script in the documentation directory
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a \
- CHANGES LICENSE README REFERENCES \
- $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