diff options
-rw-r--r-- | system/powertop/powertop.SlackBuild | 11 | ||||
-rw-r--r-- | system/powertop/powertop.info | 10 |
2 files changed, 13 insertions, 8 deletions
diff --git a/system/powertop/powertop.SlackBuild b/system/powertop/powertop.SlackBuild index 0cec42aa82..102f1ae435 100644 --- a/system/powertop/powertop.SlackBuild +++ b/system/powertop/powertop.SlackBuild @@ -4,7 +4,7 @@ # Written by Kyle Guinn <elyk03@gmail.com> PRGNAM="powertop" -VERSION="1.10" +VERSION="1.11" ARCH=${ARCH:-"i486"} BUILD=${BUILD:-"1"} TAG=${TAG:-"_SBo"} @@ -18,10 +18,13 @@ DOCS="COPYING Changelog README" if [ "$ARCH" = "i486" ]; then SLKCFLAGS="-O2 -march=i486 -mtune=i686" - elif [ "$ARCH" = "i686" ]; then + LIBDIRSUFFIX="" +elif [ "$ARCH" = "i686" ]; then SLKCFLAGS="-O2 -march=i686 -mtune=i686" - elif [ "$ARCH" = "x86_64" ]; then + LIBDIRSUFFIX="" +elif [ "$ARCH" = "x86_64" ]; then SLKCFLAGS="-O2 -fPIC" + LIBDIRSUFFIX="64" fi set -e @@ -54,4 +57,4 @@ mkdir -p $PKG/install cat $CWD/slack-desc > $PKG/install/slack-desc 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} diff --git a/system/powertop/powertop.info b/system/powertop/powertop.info index 22dd24c3d1..a426eb9c33 100644 --- a/system/powertop/powertop.info +++ b/system/powertop/powertop.info @@ -1,8 +1,10 @@ PRGNAM="powertop" -VERSION="1.10" +VERSION="1.11" HOMEPAGE="http://www.lesswatts.org/projects/powertop/" -DOWNLOAD="http://www.lesswatts.org/projects/powertop/download/powertop-1.10.tar.gz" -MD5SUM="e09f631f60d50299d8885193e6fd3756" +DOWNLOAD="http://www.lesswatts.org/projects/powertop/download/powertop-1.11.tar.gz" +DOWNLOAD_x86_64="" +MD5SUM="3498f5983c683c3a57dce7379a722082" +MD5SUM_x86_64="" MAINTAINER="Kyle Guinn" EMAIL="elyk03@gmail.com" -APPROVED="rworkman" +APPROVED="rworkman,pprkut" |