From a122f30d92a17cf7467e6f4941c905704c769bc4 Mon Sep 17 00:00:00 2001 From: David Somero Date: Tue, 11 May 2010 22:26:46 +0200 Subject: system/lirc: Updated for version 0.8.3 --- system/lirc/lirc.SlackBuild | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) (limited to 'system/lirc/lirc.SlackBuild') diff --git a/system/lirc/lirc.SlackBuild b/system/lirc/lirc.SlackBuild index 42daaace28d05..b580b24cffcc8 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 \ -- cgit v1.2.3