diff options
author | Robby Workman <rw@rlworkman.net> | 2010-05-13 00:42:33 +0200 |
---|---|---|
committer | Michiel van Wessem <michiel@slackbuilds.org> | 2010-05-13 00:42:33 +0200 |
commit | b0e93eb8668a9e19d48040dc411439a93a988527 (patch) | |
tree | 5b1917f82ebbd17afb733fe7f1aaf002b0626a85 /system/xfe/xfe.SlackBuild | |
parent | eab6556b6062711aa88a2942afd4a7e71ca60dc3 (diff) |
system/xfe: Updated for version 1.32.1
Diffstat (limited to 'system/xfe/xfe.SlackBuild')
-rw-r--r-- | system/xfe/xfe.SlackBuild | 17 |
1 files changed, 11 insertions, 6 deletions
diff --git a/system/xfe/xfe.SlackBuild b/system/xfe/xfe.SlackBuild index 84a419b609d49..b2b95880864e7 100644 --- a/system/xfe/xfe.SlackBuild +++ b/system/xfe/xfe.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for xfe -# Copyright 2006-2008 Robby Workman, Northport, Alabama, USA +# Copyright 2006-2010 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=xfe -VERSION=1.19.2 +VERSION=1.32.1 ARCH=${ARCH:-i486} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -35,10 +35,13 @@ OUTPUT=${OUTPUT:-/tmp} if [ "$ARCH" = "i486" ]; then SLKCFLAGS="-O2 -march=i486 -mtune=i686" + LIBDIRSUFFIX="" elif [ "$ARCH" = "i686" ]; then SLKCFLAGS="-O2 -march=i686 -mtune=i686" + LIBDIRSUFFIX="" elif [ "$ARCH" = "x86_64" ]; then SLKCFLAGS="-O2 -fPIC" + LIBDIRSUFFIX="64" fi set -e @@ -60,6 +63,7 @@ CFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \ ./configure \ --prefix=/usr \ + --libdir=/usr/lib${LIBDIRSUFFIX} \ --mandir=/usr/man \ --docdir=/usr/doc/$PRGNAM-$VERSION \ --disable-debug \ @@ -74,7 +78,7 @@ find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null mkdir -p $PKG/usr/share/applications -install -m 0644 $CWD/xfe.desktop $PKG/usr/share/applications/xfe.desktop +cat $CWD/xfe.desktop > $PKG/usr/share/applications/xfe.desktop ( cd $PKG/usr/man || exit 1 find . -type f -exec gzip -9 {} \; @@ -82,8 +86,9 @@ install -m 0644 $CWD/xfe.desktop $PKG/usr/share/applications/xfe.desktop ) mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a AUTHORS BUGS COPYING ChangeLog INSTALL NEWS README TODO \ - $PKG/usr/doc/$PRGNAM-$VERSION +cp -a \ + AUTHORS BUGS COPYING ChangeLog INSTALL NEWS README TODO \ + $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild mkdir -p $PKG/install @@ -91,4 +96,4 @@ cat $CWD/slack-desc > $PKG/install/slack-desc cat $CWD/doinst.sh > $PKG/install/doinst.sh cd $PKG -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.tgz +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz} |