diff options
Diffstat (limited to 'source/xfce/xfce4-power-manager/xfce4-power-manager.SlackBuild')
-rwxr-xr-x | source/xfce/xfce4-power-manager/xfce4-power-manager.SlackBuild | 16 |
1 files changed, 6 insertions, 10 deletions
diff --git a/source/xfce/xfce4-power-manager/xfce4-power-manager.SlackBuild b/source/xfce/xfce4-power-manager/xfce4-power-manager.SlackBuild index f378984f..d4130a3a 100755 --- a/source/xfce/xfce4-power-manager/xfce4-power-manager.SlackBuild +++ b/source/xfce/xfce4-power-manager/xfce4-power-manager.SlackBuild @@ -3,7 +3,7 @@ # Slackware build script for xfce4-power-manager # Copyright 2006-2012 Robby Workman Northport, Alabama, USA -# Copyright 2009, 2010 Patrick J. Volkerding, Sebeka, MN, USA +# Copyright 2009, 2010, 2016 Patrick J. Volkerding, Sebeka, MN, USA # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -26,11 +26,11 @@ PKGNAM=xfce4-power-manager VERSION=${VERSION:-$(echo $PKGNAM-*.tar.?z* | rev | cut -f 3- -d . | cut -f 1 -d - | rev)} -BUILD=${BUILD:-2} +BUILD=${BUILD:-4} if [ -z "$ARCH" ]; then case "$( uname -m )" in - i?86) export ARCH=i486 ;; + i?86) export ARCH=i586 ;; arm*) export ARCH=arm ;; *) export ARCH=$( uname -m ) ;; esac @@ -42,8 +42,8 @@ CWD=$(pwd) TMP=${TMP:-/tmp} PKG=$TMP/package-$PKGNAM -if [ "$ARCH" = "i486" ]; then - SLKCFLAGS="-O2 -march=i486 -mtune=i686" +if [ "$ARCH" = "i586" ]; then + SLKCFLAGS="-O2 -march=i586 -mtune=i686" LIBDIRSUFFIX="" elif [ "$ARCH" = "i686" ]; then SLKCFLAGS="-O2 -march=i686 -mtune=i686" @@ -79,7 +79,7 @@ CFLAGS="$SLKCFLAGS" \ --enable-shared=yes \ --enable-static=no \ --enable-debug=no \ - --enable-network-manager \ + --disable-network-manager \ --build=$ARCH-slackware-linux || exit 1 make $NUMJOBS || make || exit 1 @@ -107,10 +107,6 @@ mkdir -p $PKG/usr/doc/$PKGNAM-$VERSION/html cp -a \ AUTHORS COPYING* NEWS README* TODO \ $PKG/usr/doc/$PKGNAM-$VERSION -( cd $PKG/usr/doc/$PKGNAM-$VERSION/html - ln -s /usr/share/xfce4/doc/C/xfce4-power-manager.html index.html - ln -s /usr/share/xfce4/doc/C/images . -) # If there's a ChangeLog, installing at least part of the recent history # is useful, but don't let it get totally out of control: |