summaryrefslogtreecommitdiff
path: root/system
diff options
context:
space:
mode:
Diffstat (limited to 'system')
-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"