diff options
author | John B <irgunii@gmail.com> | 2014-04-03 22:37:33 +0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2014-04-07 14:43:53 +0700 |
commit | d97ea6e09ee7b9aa36c43731eb48369dc85f4644 (patch) | |
tree | a2ff304cbfbe219349932401d594c40ad994449f /network/dillo/dillo.SlackBuild | |
parent | 9e17a671d82b202be62d898ad7b263f234aa97fc (diff) | |
download | slackbuilds-d97ea6e09ee7b9aa36c43731eb48369dc85f4644.tar.gz |
network/dillo: Update Build Script.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'network/dillo/dillo.SlackBuild')
-rw-r--r-- | network/dillo/dillo.SlackBuild | 24 |
1 files changed, 11 insertions, 13 deletions
diff --git a/network/dillo/dillo.SlackBuild b/network/dillo/dillo.SlackBuild index a277d8b9dc..5422ee7efa 100644 --- a/network/dillo/dillo.SlackBuild +++ b/network/dillo/dillo.SlackBuild @@ -2,7 +2,9 @@ # Slackware build script for dillo -# Copyright 2012 John Berger TN, USA +# Copyright 2012 John B TN, USA +# This was only successful with the help of Erik Hanson and +# B Watson who e-mailed me his patch/idea for the fltk and fltk-13 problem # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -64,22 +66,20 @@ tar xvf $CWD/$PRGNAM-$VERSION.tar.bz2 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/fltk-config/fltk13-config/g' configure.ac -autoreconf +sed -i 's/fltk-config/fltk13-config/g' configure - #https and ssl are in the alpha stage, but if you don't want to try and use it - #just delete or comment out --enable-ssl +LDFLAGS="-L/usr/lib$LIBDIRSUFFIX/fltk13 -Wl,-rpath,/usr/lib$LIBDIRSUFFIX/fltk13" \ CFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \ ./configure \ + --libdir=/usr/lib${LIBDIRSUFFIX}/fltk13 \ --enable-ssl \ --prefix=/usr \ - --libdir=/usr/lib${LIBDIRSUFFIX}/fltk13 \ --sysconfdir=/etc \ --localstatedir=/var \ --mandir=/usr/man \ @@ -98,9 +98,7 @@ find $PKG/usr/man -type f -exec gzip -9 {} \; for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a \ - README AUTHORS INSTALL COPYING \ - $PKG/usr/doc/$PRGNAM-$VERSION +cp -a README AUTHORS INSTALL COPYING $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild mkdir -p $PKG/install |