aboutsummaryrefslogtreecommitdiff
path: root/libraries/libgee/libgee.SlackBuild
diff options
context:
space:
mode:
authorMatteo Bernardini <ponce@slackbuilds.org>2016-12-29 12:32:15 +0100
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2016-12-31 08:22:30 +0700
commitb2c83c2e8866cda0165f0ce15d66bfea48391968 (patch)
tree03d1e5d0299e0aee08bf7f0a7f70bfdb90017a1c /libraries/libgee/libgee.SlackBuild
parent537ef1f8228588efdf0aca94f2812fb4b03080a8 (diff)
libraries/libgee: Updated for version 0.18.1.
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
Diffstat (limited to 'libraries/libgee/libgee.SlackBuild')
-rw-r--r--libraries/libgee/libgee.SlackBuild16
1 files changed, 9 insertions, 7 deletions
diff --git a/libraries/libgee/libgee.SlackBuild b/libraries/libgee/libgee.SlackBuild
index 5cb601e4023f1..136c229cbbf84 100644
--- a/libraries/libgee/libgee.SlackBuild
+++ b/libraries/libgee/libgee.SlackBuild
@@ -3,7 +3,7 @@
# Slackware build script for libgee
# Written by Larry Hajali <larryhaja[at]gmail[dot]com>
-# Copyright 2011-2015 Matteo Bernardini <ponce@slackbuilds.org>, Pisa, Italy
+# Copyright 2011-2016 Matteo Bernardini <ponce@slackbuilds.org>, Pisa, Italy
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -24,13 +24,13 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=libgee
-VERSION=${VERSION:-0.18.0}
+VERSION=${VERSION:-0.18.1}
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
@@ -41,8 +41,8 @@ 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"
@@ -68,7 +68,7 @@ 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 640 -o -perm 600 -o -perm 444 \
- -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
CFLAGS="$SLKCFLAGS" \
./configure \
@@ -82,7 +82,9 @@ CFLAGS="$SLKCFLAGS" \
make
make install DESTDIR=$PKG
-find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
+rm -f $PKG/usr/lib$LIBDIRSUFFIX/*.la
+
+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
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION