summaryrefslogtreecommitdiff
path: root/system/irqbalance
diff options
context:
space:
mode:
authorYalla-One <yallaone@gmail.com>2010-05-13 00:40:41 +0200
committerRobby Workman <rworkman@slackbuilds.org>2010-05-13 00:40:41 +0200
commit595d80cd44d849f0e842548d732774b7538e91b8 (patch)
tree85929770256fdeef6cf98b1ee3155919ad654c51 /system/irqbalance
parent95e499119f69933f55b8b72db3a79a1733512203 (diff)
downloadslackbuilds-595d80cd44d849f0e842548d732774b7538e91b8.tar.gz
system/irqbalance: Updated for version 0.55
Diffstat (limited to 'system/irqbalance')
-rw-r--r--system/irqbalance/irqbalance.SlackBuild10
-rw-r--r--system/irqbalance/irqbalance.info2
2 files changed, 10 insertions, 2 deletions
diff --git a/system/irqbalance/irqbalance.SlackBuild b/system/irqbalance/irqbalance.SlackBuild
index c08ed431ca..998ff492a6 100644
--- a/system/irqbalance/irqbalance.SlackBuild
+++ b/system/irqbalance/irqbalance.SlackBuild
@@ -35,8 +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
@@ -59,12 +64,13 @@ cp $PRGNAM $PKG/usr/sbin
strip --strip-unneeded ${PKG}/usr/sbin/$PRGNAM
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp $CWD/README $CWD/$PRGNAM.SlackBuild \
+cp $CWD/README \
$PKG/usr/doc/$PRGNAM-$VERSION/
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
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/irqbalance/irqbalance.info b/system/irqbalance/irqbalance.info
index 98f4ab2094..440c628468 100644
--- a/system/irqbalance/irqbalance.info
+++ b/system/irqbalance/irqbalance.info
@@ -2,7 +2,9 @@ PRGNAM="irqbalance"
VERSION="0.55"
HOMEPAGE="http://www.irqbalance.org/"
DOWNLOAD="http://irqbalance.org/releases/irqbalance-0.55.tar.gz"
+DOWNLOAD_x86_64=""
MD5SUM="9f6b314ff1fdc14173abeb40592d4edf"
+MD5SUM_x86_64=""
MAINTAINER="Yalla-One"
EMAIL="yallaone@gmail.com"
APPROVED="rworkman"