summaryrefslogtreecommitdiff
path: root/system/lirc/lirc.SlackBuild
diff options
context:
space:
mode:
authorDavid Somero <dsomero@hotmail.com>2010-05-11 22:26:46 +0200
committerErik Hanson <erik@slackbuilds.org>2010-05-11 22:26:46 +0200
commita122f30d92a17cf7467e6f4941c905704c769bc4 (patch)
tree4c7fdeb15242e13c4a221945e382e2a1e80b33d7 /system/lirc/lirc.SlackBuild
parent5b16937235673e83cd5d12f11bfc4d20d8ef9e5b (diff)
downloadslackbuilds-a122f30d92a17cf7467e6f4941c905704c769bc4.tar.gz
system/lirc: Updated for version 0.8.3
Diffstat (limited to 'system/lirc/lirc.SlackBuild')
-rw-r--r--system/lirc/lirc.SlackBuild12
1 files changed, 10 insertions, 2 deletions
diff --git a/system/lirc/lirc.SlackBuild b/system/lirc/lirc.SlackBuild
index 42daaace28..b580b24cff 100644
--- a/system/lirc/lirc.SlackBuild
+++ b/system/lirc/lirc.SlackBuild
@@ -26,7 +26,7 @@
# No additional license terms and no copyright claim :-)
PRGNAM=lirc
-VERSION=0.8.2
+VERSION=0.8.3
ARCH=${ARCH:-i486}
BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
@@ -51,6 +51,8 @@ if [ "${ARCH}" = "i486" ]; then
SLKCFLAGS="-O2 -march=i486 -mtune=i686"
elif [ "${ARCH}" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
+elif [ "$ARCH" = "x86_64" ]; then
+ SLKCFLAGS="-O2 -fPIC"
fi
set -e
@@ -62,12 +64,17 @@ rm -rf $PRGNAM-$VERSION
tar xvf $CWD/$PRGNAM-$VERSION.tar.bz2
cd $PRGNAM-$VERSION
chown -R root:root .
-chmod -R a-s,u+w,go+r-w .
+find . \
+ \( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \
+ -exec chmod 755 {} \; -o \
+ \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
+ -exec chmod 644 {} \;
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \
--prefix=/usr \
+ --mandir=/usr/man \
--exec-prefix=/usr \
--sysconfdir=/etc \
--localstatedir=/var \
@@ -87,6 +94,7 @@ if [ "$BLASTER" = "yes" ] ;then
CXXFLAGS="$SLKCFLAGS" \
./configure \
--prefix=/usr \
+ --mandir=/usr/man \
--exec-prefix=/usr \
--sysconfdir=/etc \
--localstatedir=/var \