summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordsomero <xgizzmo@slackbuilds.org>2011-04-01 02:43:47 -0400
committerRobby Workman <rworkman@slackbuilds.org>2011-04-03 09:34:02 -0500
commitd7458f7e5aea73b242066293e59b3d62a272e093 (patch)
tree7e976c7369a1c9d3d4feb599f895255577c0d933
parent6d70d239bcdd2422a1117b5d5d55c8d715ce2d79 (diff)
downloadslackbuilds-d7458f7e5aea73b242066293e59b3d62a272e093.tar.gz
desktop/google-gadgets-for-linux: Adjust build options for 13.37.
Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
-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