diff options
author | Hunter Sezen <orbea@fredslev.dk> | 2018-06-24 07:56:02 +0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2018-06-30 07:00:12 +0700 |
commit | 4655298ccb41167702465f37e69a52dda9a09198 (patch) | |
tree | f95f614798fdcbbb8a98546b2acf33b3996d1503 | |
parent | 7ee68e989b2c83b8f22385a51167f4f086d31baf (diff) |
development/slibtool: Updated for version 0.5.20.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r-- | development/slibtool/README | 3 | ||||
-rw-r--r-- | development/slibtool/slibtool.SlackBuild | 11 | ||||
-rw-r--r-- | development/slibtool/slibtool.info | 6 |
3 files changed, 14 insertions, 6 deletions
diff --git a/development/slibtool/README b/development/slibtool/README index 14d5f5dbb1e57..bc3ddc6aa559a 100644 --- a/development/slibtool/README +++ b/development/slibtool/README @@ -32,3 +32,6 @@ or, for only shared libraries: export MAKEFLAGS='LIBTOOL=dlibtool-shared' or, for only static libraries: export MAKEFLAGS='LIBTOOL=dlibtool-static' + +To build debugging symbols use: + DEBUG=1 ./slibtool.SlackBuild diff --git a/development/slibtool/slibtool.SlackBuild b/development/slibtool/slibtool.SlackBuild index fa4e0c4139894..8b023f429cbaa 100644 --- a/development/slibtool/slibtool.SlackBuild +++ b/development/slibtool/slibtool.SlackBuild @@ -23,7 +23,7 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=slibtool -VERSION=${VERSION:-0.5.19} +VERSION=${VERSION:-0.5.20} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -69,6 +69,9 @@ 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 ] && \ + SLKCFLAGS="$(printf %s "$SLKCFLAGS" | sed 's/-O2/-O0 -g/')" + CFLAGS="$SLKCFLAGS" \ ./configure \ --prefix=/usr \ @@ -80,8 +83,10 @@ CFLAGS="$SLKCFLAGS" \ make make install DESTDIR=$PKG -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 +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 +fi mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION cp -a CONTRIB COPYING.SLIBTOOL NEWS README THANKS $PKG/usr/doc/$PRGNAM-$VERSION diff --git a/development/slibtool/slibtool.info b/development/slibtool/slibtool.info index 4f16aac8e16a9..5a39b02144f8e 100644 --- a/development/slibtool/slibtool.info +++ b/development/slibtool/slibtool.info @@ -1,8 +1,8 @@ PRGNAM="slibtool" -VERSION="0.5.19" +VERSION="0.5.20" HOMEPAGE="https://midipix.org/" -DOWNLOAD="https://midipix.org/dl/slibtool/slibtool-0.5.19.tar.xz" -MD5SUM="2bdf35afc3e8ed883d13e7996e9b5334" +DOWNLOAD="https://midipix.org/dl/slibtool/slibtool-0.5.20.tar.xz" +MD5SUM="073fd4188e351080d7ceba407467bf20" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" |