diff options
author | Robby Workman <rw@rlworkman.net> | 2010-05-11 22:22:09 +0200 |
---|---|---|
committer | David Somero <xgizzmo@slackbuilds.org> | 2010-05-11 22:22:09 +0200 |
commit | 49dcc252bca8fbe01a430ed842fcc81fa4be55db (patch) | |
tree | 47fa92656b080223f920ae6da32ca7365e803d42 /desktop/xfce4-places-plugin/xfce4-places-plugin.SlackBuild | |
parent | b28a657345b4a9372cfb952df47ef71dd3651957 (diff) | |
download | slackbuilds-49dcc252bca8fbe01a430ed842fcc81fa4be55db.tar.gz |
desktop/xfce4-places-plugin: Updated for version 1.1.0
Diffstat (limited to 'desktop/xfce4-places-plugin/xfce4-places-plugin.SlackBuild')
-rw-r--r-- | desktop/xfce4-places-plugin/xfce4-places-plugin.SlackBuild | 17 |
1 files changed, 9 insertions, 8 deletions
diff --git a/desktop/xfce4-places-plugin/xfce4-places-plugin.SlackBuild b/desktop/xfce4-places-plugin/xfce4-places-plugin.SlackBuild index b748627cd9..563edac730 100644 --- a/desktop/xfce4-places-plugin/xfce4-places-plugin.SlackBuild +++ b/desktop/xfce4-places-plugin/xfce4-places-plugin.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for xfce4-places-plugin -# Copyright 2006-2007 Robby Workman (http://rlworkman.net) +# Copyright 2006-2008 Robby Workman, Northport, Alabama, USA # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -23,7 +23,7 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=xfce4-places-plugin -VERSION=1.0.0 +VERSION=1.1.0 ARCH=${ARCH:-i486} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -37,6 +37,8 @@ if [ "$ARCH" = "i486" ]; then SLKCFLAGS="-O2 -march=i486 -mtune=i686" elif [ "$ARCH" = "i686" ]; then SLKCFLAGS="-O2 -march=i686 -mtune=i686" +elif [ "$ARCH" = "x86_64" ]; then + SLKCFLAGS="-O2 -fPIC" fi set -e @@ -45,7 +47,7 @@ rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP rm -rf $PRGNAM-$VERSION -tar -xjvf $CWD/$PRGNAM-$VERSION.tar.bz2 +tar xvf $CWD/$PRGNAM-$VERSION.tar.bz2 cd $PRGNAM-$VERSION chown -R root:root . find . \ @@ -60,15 +62,14 @@ CXXFLAGS="$SLKCFLAGS" \ --prefix=/usr \ --enable-shared=yes \ --enable-static=no \ - --enable-debug=no + --enable-debug=no \ + --build=$ARCH-slackware-linux make make install DESTDIR=$PKG -( cd $PKG - find . | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null - find . | xargs file | grep "shared object" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null -) +find $PKG | xargs 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 cp -a AUTHORS COPYING ChangeLog INSTALL NEWS README TODO \ |