graphics/mlbrot: Fix build.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
parent
77520ca35e
commit
164c0fc973
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue