diff options
-rw-r--r-- | development/slibtool/slack-desc | 2 | ||||
-rw-r--r-- | development/slibtool/slibtool.SlackBuild | 35 | ||||
-rw-r--r-- | development/slibtool/slibtool.info | 8 |
3 files changed, 25 insertions, 20 deletions
diff --git a/development/slibtool/slack-desc b/development/slibtool/slack-desc index 5406416ad1..6f7b20034d 100644 --- a/development/slibtool/slack-desc +++ b/development/slibtool/slack-desc @@ -12,7 +12,7 @@ slibtool: slibtool is an independent reimplementation of the widely used slibtool: libtool, written in C. slibtool is designed to be a clean, fast, slibtool: easy-to-use written in C. slibtool: -slibtool: Homepage: https://midipix.org/ +slibtool: Homepage: https://git.foss21.org/slibtool slibtool: slibtool: slibtool: diff --git a/development/slibtool/slibtool.SlackBuild b/development/slibtool/slibtool.SlackBuild index 5f0e4abdfa..a2ee254764 100644 --- a/development/slibtool/slibtool.SlackBuild +++ b/development/slibtool/slibtool.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for slibtool -# Copyright 2017-2018 Hunter Sezen California, USA +# Copyright 2017-2018, 2020 Hunter Sezen California, USA # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -23,7 +23,7 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=slibtool -VERSION=${VERSION:-0.5.28} +VERSION=${VERSION:-0.5.29} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -69,24 +69,29 @@ 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 {} \; -[ "${DEBUG:=0}" != 0 ] && \ +[ "${DEBUG:=0}" = 0 ] || SLKCFLAGS="$(printf %s "$SLKCFLAGS" | sed 's/-O2/-O0 -g/')" -CFLAGS="$SLKCFLAGS" \ -./configure \ - --prefix=/usr \ - --libdir=/usr/lib${LIBDIRSUFFIX} \ - --disable-static \ - --enable-shared \ - --pkgdurl='https://slackbuilds.org/apps/slibtool/' \ - --build=$ARCH-slackware-linux +( + mkdir -p build + cd build -make -make install DESTDIR=$PKG + CFLAGS="$SLKCFLAGS" \ + ../configure \ + --prefix=/usr \ + --libdir=/usr/lib${LIBDIRSUFFIX} \ + --disable-static \ + --enable-shared \ + --pkgdurl='https://slackbuilds.org/apps/slibtool/' \ + --build=$ARCH-slackware-linux + + make + make install DESTDIR=$PKG +) if [ "$DEBUG" = 0 ]; then - find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ - | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true + find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | + grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true fi mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION diff --git a/development/slibtool/slibtool.info b/development/slibtool/slibtool.info index 7e43d934ad..485b327a1d 100644 --- a/development/slibtool/slibtool.info +++ b/development/slibtool/slibtool.info @@ -1,8 +1,8 @@ PRGNAM="slibtool" -VERSION="0.5.28" -HOMEPAGE="https://midipix.org/" -DOWNLOAD="https://midipix.org/dl/slibtool/slibtool-0.5.28.tar.xz" -MD5SUM="883be5442b95bcc954cc0c82023d9e7f" +VERSION="0.5.29" +HOMEPAGE="https://git.foss21.org/slibtool" +DOWNLOAD="https://dl.foss21.org/slibtool/slibtool-0.5.29.tar.xz" +MD5SUM="434c4f72258f723e0604474d2588810b" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" |