diff options
author | David Somero <dsomero@hotmail.com> | 2010-05-11 22:24:57 +0200 |
---|---|---|
committer | Robby Workman <rworkman@slackbuilds.org> | 2010-05-11 22:24:57 +0200 |
commit | 068d1b65d781a140a424ad0eaf029623d76d409a (patch) | |
tree | 6a6b1685861a08d37e0baec75ba48dc79847cb44 /multimedia/mythtv/mythtv.SlackBuild | |
parent | 427b8206d4da6cb201e0a0054f20c98bd3ca323c (diff) |
multimedia/mythtv: Updated for version 0.21
Diffstat (limited to 'multimedia/mythtv/mythtv.SlackBuild')
-rw-r--r-- | multimedia/mythtv/mythtv.SlackBuild | 23 |
1 files changed, 15 insertions, 8 deletions
diff --git a/multimedia/mythtv/mythtv.SlackBuild b/multimedia/mythtv/mythtv.SlackBuild index 884ce059a0429..a240d54dfc230 100644 --- a/multimedia/mythtv/mythtv.SlackBuild +++ b/multimedia/mythtv/mythtv.SlackBuild @@ -24,10 +24,11 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=mythtv -VERSION=0.20.2 +VERSION=0.21 ARCH=${ARCH:-i686} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} + CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=${TMP}/package-${PRGNAM} @@ -42,13 +43,17 @@ rm -rf $PRGNAM-$VERSION tar xvf $CWD/$PRGNAM-$VERSION.tar.bz2 cd $PRGNAM-$VERSION chown -R root:root . -chmod -R u+w,go+r-w,a-s . +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 {} \; -./configure --prefix=/usr \ +./configure \ + --prefix=/usr \ --compile-type=release \ --disable-ccache \ --disable-distcc \ - --disable-freebox \ --disable-dbox2 \ --disable-hdhomerun \ --arch=$ARCH \ @@ -57,19 +62,21 @@ chmod -R u+w,go+r-w,a-s . --enable-dvb \ --dvb-path=/usr/include \ --with-bindings=perl \ - --enable-proc-opt \ --enable-xvmc \ --enable-opengl-vsync qmake $PRGNAM.pro make -make INSTALL_ROOT="$PKG" install +make \ + INSTALLDIRS=vendor \ + INSTALL_ROOT="$PKG" \ + install # Copy some other needed stuff to /usr/share/mythtv cp -a database contrib $PKG/usr/share/$PRGNAM mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a AUTHORS COPYING FAQ keys.txt README UPGRADING docs/* configfiles \ +cp -a AUTHORS COPYING FAQ keys.txt README UPGRADING docs/* \ $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild ( cd $PKG/usr/doc ; ln -s $PRGNAM-$VERSION $PRGNAM ) @@ -83,7 +90,7 @@ install -D -m 0755 $CWD/rc.mythbackend.new $PKG/etc/rc.d/rc.mythbackend.new ) ( cd $PKG - find . | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null + find . | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true find . | xargs file | grep "shared object" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null ) |