From 75f68f6fd3833a9888891f1b14ad58fca557bd45 Mon Sep 17 00:00:00 2001 From: Kyle Guinn Date: Thu, 13 May 2010 00:41:28 +0200 Subject: system/powertop: Updated for version 1.11 --- system/powertop/powertop.SlackBuild | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) (limited to 'system/powertop/powertop.SlackBuild') diff --git a/system/powertop/powertop.SlackBuild b/system/powertop/powertop.SlackBuild index 0cec42aa822e1..102f1ae435eb7 100644 --- a/system/powertop/powertop.SlackBuild +++ b/system/powertop/powertop.SlackBuild @@ -4,7 +4,7 @@ # Written by Kyle Guinn 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} -- cgit v1.2.3