From 595d80cd44d849f0e842548d732774b7538e91b8 Mon Sep 17 00:00:00 2001 From: Yalla-One Date: Thu, 13 May 2010 00:40:41 +0200 Subject: system/irqbalance: Updated for version 0.55 --- system/irqbalance/irqbalance.SlackBuild | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to 'system/irqbalance/irqbalance.SlackBuild') diff --git a/system/irqbalance/irqbalance.SlackBuild b/system/irqbalance/irqbalance.SlackBuild index c08ed431ca124..998ff492a6211 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} -- cgit v1.2.3