diff options
Diffstat (limited to 'network/dillo/dillo.SlackBuild')
-rw-r--r-- | network/dillo/dillo.SlackBuild | 25 |
1 files changed, 11 insertions, 14 deletions
diff --git a/network/dillo/dillo.SlackBuild b/network/dillo/dillo.SlackBuild index 5094bd6ec7..2e1589f596 100644 --- a/network/dillo/dillo.SlackBuild +++ b/network/dillo/dillo.SlackBuild @@ -1,10 +1,12 @@ #!/bin/bash -# Slackware build script for dillo. It has NOT been tested on x86_64. +# Slackware build script for dillo web browser. # Copyright 2012 John B TN, USA # This was only successful with the help of ErikHanson@slackbuilds.org and # B Watson who e-mailed me his patch/idea for the fltk and fltk-13 problem +# I was having during the 3.0.5 build. +# # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -27,7 +29,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=dillo -VERSION=${VERSION:-3.0.5} +VERSION=${VERSION:-3.1.0} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -40,14 +42,13 @@ if [ -z "$ARCH" ]; then 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 +NUMJOBS=${NUMJOBS:-" -j $(expr $(nproc) + 1) "} + TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} @@ -81,19 +82,15 @@ find -L . \ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; -# Thanks gentoo! -patch -p1 < $CWD/dillo-3.0.5-openssl-1.1.patch -patch -p1 < $CWD/dillo-3.0.5-fno-common.patch - autoreconf -fi -#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 - +# Dillo looks for openssl first, then tls. Both are still in alpha +# stage but work to a degree and are better than nothing. CFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \ ./configure \ - --enable-ssl \ + --enable-openssl \ + --enable-tls \ --prefix=/usr \ --sysconfdir=/etc \ --localstatedir=/var \ @@ -113,7 +110,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 COPYING $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild mkdir -p $PKG/install |