summaryrefslogtreecommitdiffstats
path: root/slackware64-current/source/l/librsvg/librsvg.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'slackware64-current/source/l/librsvg/librsvg.SlackBuild')
-rwxr-xr-xslackware64-current/source/l/librsvg/librsvg.SlackBuild7
1 files changed, 5 insertions, 2 deletions
diff --git a/slackware64-current/source/l/librsvg/librsvg.SlackBuild b/slackware64-current/source/l/librsvg/librsvg.SlackBuild
index 9c4a04f68..bf86059e3 100755
--- a/slackware64-current/source/l/librsvg/librsvg.SlackBuild
+++ b/slackware64-current/source/l/librsvg/librsvg.SlackBuild
@@ -23,7 +23,7 @@ cd $(dirname $0) ; CWD=$(pwd)
PKGNAM=librsvg
VERSION=${VERSION:-$(echo librsvg-*.tar.?z | rev | cut -f 3- -d . | cut -f 1 -d - | rev)}
-BUILD=${BUILD:-2}
+BUILD=${BUILD:-3}
# Automatically determine the architecture we're building on:
if [ -z "$ARCH" ]; then
@@ -68,7 +68,7 @@ mkdir -p $TMP $PKG
cd $TMP
rm -rf librsvg-$VERSION
tar xvf $CWD/librsvg-$VERSION.tar.?z || exit 1
-cd librsvg-$VERSION
+cd librsvg-$VERSION || exit 1
chown -R root:root .
find . \
\( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \
@@ -90,6 +90,9 @@ CFLAGS="$SLKCFLAGS" \
make $NUMJOBS || make || exit 1
make install DESTDIR=$PKG || exit 1
+# Don't ship .la files:
+rm -f $PKG/{,usr/}lib${LIBDIRSUFFIX}/*.la
+
find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null