summaryrefslogtreecommitdiff
path: root/desktop/google-gadgets-for-linux/google-gadgets-for-linux.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'desktop/google-gadgets-for-linux/google-gadgets-for-linux.SlackBuild')
-rw-r--r--desktop/google-gadgets-for-linux/google-gadgets-for-linux.SlackBuild9
1 files changed, 6 insertions, 3 deletions
diff --git a/desktop/google-gadgets-for-linux/google-gadgets-for-linux.SlackBuild b/desktop/google-gadgets-for-linux/google-gadgets-for-linux.SlackBuild
index becfabf130..b6176cc869 100644
--- a/desktop/google-gadgets-for-linux/google-gadgets-for-linux.SlackBuild
+++ b/desktop/google-gadgets-for-linux/google-gadgets-for-linux.SlackBuild
@@ -21,7 +21,7 @@
PRGNAM=google-gadgets-for-linux
VERSION=0.11.2
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
# Automatically determine the architecture we're building on:
@@ -74,16 +74,19 @@ LIBS="-lssp" \
./configure \
--prefix=/usr \
--libdir=/usr/lib$LIBDIRSUFFIX \
+ --disable-werror \
--sysconfdir=/etc \
--docdir=/usr/doc/$PRGNAM-$VERSION \
--mandir=/usr/man \
--disable-static \
+ --disable-update-desktop-database \
+ --disable-update-mime-database \
--with-gtkmozembed=libxul \
--with-browser-plugins-dir=/usr/lib$LIBDIRSUFFIX/mozilla/plugins \
--build=$ARCH-slackware-linux
-make -j1
-make install-strip DESTDIR=$PKG
+make
+make install DESTDIR=$PKG
find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null