summaryrefslogtreecommitdiff
path: root/system
diff options
context:
space:
mode:
Diffstat (limited to 'system')
-rw-r--r--system/lirc/lirc.SlackBuild12
-rw-r--r--system/lirc/lirc.info8
2 files changed, 14 insertions, 6 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 \
diff --git a/system/lirc/lirc.info b/system/lirc/lirc.info
index 5800f2bbcb..43b92cb349 100644
--- a/system/lirc/lirc.info
+++ b/system/lirc/lirc.info
@@ -1,8 +1,8 @@
PRGNAM="lirc"
-VERSION="0.8.2"
+VERSION="0.8.3"
HOMEPAGE="http://www.lirc.org/"
-DOWNLOAD="http://downloads.sourceforge.net/lirc/lirc-0.8.2.tar.bz2"
-MD5SUM="83e7060a6693b81075c178d7e3b215af"
+DOWNLOAD="http://downloads.sourceforge.net/lirc/lirc-0.8.3.tar.bz2"
+MD5SUM="8e78eeded7b31e5ad02e328970437c0f"
MAINTAINER="David Somero"
EMAIL="dsomero@hotmail.com "
-APPROVED="rworkman"
+APPROVED="Erik Hanson"