diff options
Diffstat (limited to 'development')
-rw-r--r-- | development/lwtools/lwtools.SlackBuild | 16 | ||||
-rw-r--r-- | development/lwtools/lwtools.info | 6 |
2 files changed, 8 insertions, 14 deletions
diff --git a/development/lwtools/lwtools.SlackBuild b/development/lwtools/lwtools.SlackBuild index b0b735b1bacce..72144f56dbca1 100644 --- a/development/lwtools/lwtools.SlackBuild +++ b/development/lwtools/lwtools.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for lwtools -# Copyright 2015 David Golus <bassplayer69@gmail.com> +# Copyright 2016-2018 David Golus <bassplayer69@gmail.com> # # Redistribution and use of this script, with or without modification, is # permitted provided that the following conditions are met: @@ -21,17 +21,14 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -# Heavily based on original slackbuild by AlienBOB. -# Modified by David Golus <bassplayer69@gmail.com> - PRGNAM=lwtools -VERSION=${VERSION:-4.12} +VERSION=${VERSION:-4.15} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} if [ -z "$ARCH" ]; then case "$( uname -m )" in - i?86) ARCH=i486 ;; + i?86) ARCH=i586 ;; arm*) ARCH=arm ;; *) ARCH=$( uname -m ) ;; esac @@ -42,15 +39,14 @@ TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} -if [ "$ARCH" = "i486" ]; then - SLKCFLAGS="-O2 -march=i486 -mtune=i686" +if [ "$ARCH" = "i586" ]; then + SLKCFLAGS="-O2 -march=i586 -mtune=i686" LIBDIRSUFFIX="" elif [ "$ARCH" = "i686" ]; then SLKCFLAGS="-O2 -march=i686 -mtune=i686" LIBDIRSUFFIX="" elif [ "$ARCH" = "x86_64" ]; then SLKCFLAGS="-O2 -fPIC" - SLKLDFLAGS="-L/usr/lib64" LIBDIRSUFFIX="64" else SLKCFLAGS="-O2" @@ -72,7 +68,6 @@ 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 {} \; -LDFLAGS="-lm" \ CFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \ make @@ -84,7 +79,6 @@ find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | gr mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION cp -a 00README.txt COPYING GPL3 $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild -find $PKG/usr/doc/$PRGNAM-$VERSION -type f -exec chmod 0644 {} \; mkdir -p $PKG/install cat $CWD/slack-desc > $PKG/install/slack-desc diff --git a/development/lwtools/lwtools.info b/development/lwtools/lwtools.info index 6673c447b381f..53dde01647bfb 100644 --- a/development/lwtools/lwtools.info +++ b/development/lwtools/lwtools.info @@ -1,8 +1,8 @@ PRGNAM="lwtools" -VERSION="4.12" +VERSION="4.15" HOMEPAGE="http://lwtools.projects.l-w.ca" -DOWNLOAD="http://lwtools.projects.l-w.ca/releases/lwtools/lwtools-4.12.tar.gz" -MD5SUM="0261d02a84cc4e0e3f69e124cddb05c4" +DOWNLOAD="http://lwtools.projects.l-w.ca/releases/lwtools/lwtools-4.15.tar.gz" +MD5SUM="2f13dd2e3908ca1fe20798bd708d8ec3" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" |