summaryrefslogtreecommitdiff
path: root/system/irqbalance/irqbalance.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'system/irqbalance/irqbalance.SlackBuild')
-rw-r--r--system/irqbalance/irqbalance.SlackBuild18
1 files changed, 10 insertions, 8 deletions
diff --git a/system/irqbalance/irqbalance.SlackBuild b/system/irqbalance/irqbalance.SlackBuild
index dd9a40e9e7..c3de3f386b 100644
--- a/system/irqbalance/irqbalance.SlackBuild
+++ b/system/irqbalance/irqbalance.SlackBuild
@@ -2,8 +2,8 @@
# Slackware build script for irqbalance
-# Written in 2006 by Yalla-One <yallaone@gmail.com>
-# Heavily modified (2013) by LukenShiro, Italy
+# Copyright 2006 by Yalla-One <yallaone@gmail.com>
+# Copyright 2013-2014 by LukenShiro, Italy
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -24,8 +24,8 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=irqbalance
-VERSION=${VERSION:-1.0.6}
-BUILD=${BUILD:-2}
+VERSION=${VERSION:-1.0.7}
+BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
@@ -42,6 +42,7 @@ PKG=${TMP}/package-${PRGNAM}
OUTPUT=${OUTPUT:-/tmp}
DOCFILES="AUTHORS COPYING"
+SRCVER=v$VERSION
if [ "$ARCH" = "i486" ]; then
SLKCFLAGS="-O2 -march=i486 -mtune=i686"
@@ -63,15 +64,16 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
+tar xvf $CWD/$SRCVER.tar.gz
cd $PRGNAM-$VERSION
chown -R root.root .
find -L . \
- \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 -o -perm 511 \) \
- -exec chmod 755 {} \; -o \
- \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
+ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
+ -o -perm 511 \) -exec chmod 755 {} \; -o \
+ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+sh ./autogen.sh
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \