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 | |
parent | cd382fad946b676a0c5b4b84a04c44079c9934a0 (diff) | |
download | slackbuilds-e01d609ada7b438c9e777c612a4232ee2b8311d8.tar.gz |
network/mozplugger: Updated for version 1.10.2
Diffstat (limited to 'network/mozplugger')
-rw-r--r-- | network/mozplugger/mozplugger.SlackBuild | 17 | ||||
-rw-r--r-- | network/mozplugger/mozplugger.info | 8 |
2 files changed, 14 insertions, 11 deletions
diff --git a/network/mozplugger/mozplugger.SlackBuild b/network/mozplugger/mozplugger.SlackBuild index 731cbc1c97..fcd9385cd8 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 diff --git a/network/mozplugger/mozplugger.info b/network/mozplugger/mozplugger.info index 7c8f2b353c..bd6f23b16b 100644 --- a/network/mozplugger/mozplugger.info +++ b/network/mozplugger/mozplugger.info @@ -1,8 +1,8 @@ PRGNAM="mozplugger" -VERSION="1.10.0" +VERSION="1.10.2" HOMEPAGE="http://mozplugger.mozdev.org/" -DOWNLOAD="http://mozplugger.mozdev.org/files/mozplugger-1.10.0.tar.gz" -MD5SUM="3376bd4c370647640f7eee768cbaffe8" +DOWNLOAD="http://mozplugger.mozdev.org/files/mozplugger-1.10.2.tar.gz" +MD5SUM="2c1ce1f3f4f7cd4acb41e01209c7b20a" MAINTAINER="Michael Wagner" EMAIL="lapinours@web.de" -APPROVED="rworkman" +APPROVED="David Somero"
\ No newline at end of file |