diff options
author | Michael Wagner <lapinours@web.de> | 2010-05-11 22:25:34 +0200 |
---|---|---|
committer | David Somero <xgizzmo@slackbuilds.org> | 2010-05-11 22:25:34 +0200 |
commit | e01d609ada7b438c9e777c612a4232ee2b8311d8 (patch) | |
tree | d9ba8233849de35537bca41730d62e4358069451 /network/mozplugger/mozplugger.SlackBuild | |
parent | cd382fad946b676a0c5b4b84a04c44079c9934a0 (diff) |
network/mozplugger: Updated for version 1.10.2
Diffstat (limited to 'network/mozplugger/mozplugger.SlackBuild')
-rw-r--r-- | network/mozplugger/mozplugger.SlackBuild | 17 |
1 files changed, 10 insertions, 7 deletions
diff --git a/network/mozplugger/mozplugger.SlackBuild b/network/mozplugger/mozplugger.SlackBuild index 731cbc1c97a8e..fcd9385cd86b3 100644 --- a/network/mozplugger/mozplugger.SlackBuild +++ b/network/mozplugger/mozplugger.SlackBuild @@ -25,7 +25,7 @@ # Modified by Robby Workman <rworkman@slackbuilds.org> PRGNAM=mozplugger -VERSION=1.10.0 +VERSION=1.10.2 ARCH=${ARCH:-i486} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -46,24 +46,27 @@ rm -rf $PRGNAM-$VERSION tar xvf $CWD/$PRGNAM-$VERSION.tar.gz 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 {} \; 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 +sed -i 's,share/man,man,' Makefile make RPM_OPT_FLAGS="$SLKCFLAGS" X11=/usr linux make root=$PKG install -( cd $PKG - 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 -) +strip --strip-unneeded $PKG/usr/{bin,lib/mozilla/plugins}/* -mv $PKG/usr/share/man $PKG/usr && rmdir $PKG/usr/share gzip -9 $PKG/usr/man/man7/* mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION |