diff options
author | Euan Thoms <euan at potensol dot com> | 2017-11-17 22:28:24 +0000 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2017-11-18 12:40:36 +0700 |
commit | 9039760154a71031c4a18a0d6ed95973ba86c6c4 (patch) | |
tree | c97c427f554bb02aafe7334ed291b2799250f5a1 /libraries/msx264/msx264.SlackBuild | |
parent | 6922e32a949f15a071342f048027902754693bf1 (diff) | |
download | slackbuilds-9039760154a71031c4a18a0d6ed95973ba86c6c4.tar.gz slackbuilds-9039760154a71031c4a18a0d6ed95973ba86c6c4.tar.xz |
libraries/msx264: Updated for version 1.5.3.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'libraries/msx264/msx264.SlackBuild')
-rw-r--r-- | libraries/msx264/msx264.SlackBuild | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/libraries/msx264/msx264.SlackBuild b/libraries/msx264/msx264.SlackBuild index 6b99a03c108..6aa874306d6 100644 --- a/libraries/msx264/msx264.SlackBuild +++ b/libraries/msx264/msx264.SlackBuild @@ -23,13 +23,13 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=msx264 -VERSION=${VERSION:-1.5.2} +VERSION=${VERSION:-1.5.3} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} if [ -z "$ARCH" ]; then case "$( uname -m )" in - i?86) ARCH=i486 ;; + i?86) ARCH=i586 ;; arm*) ARCH=arm ;; *) ARCH=$( uname -m ) ;; esac @@ -40,8 +40,8 @@ TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} -if [ "$ARCH" = "i486" ]; then - SLKCFLAGS="-O2 -march=i486 -mtune=i686" +if [ "$ARCH" = "i586" ]; then + SLKCFLAGS="-O2 -march=i586 -mtune=i686" LIBDIRSUFFIX="" elif [ "$ARCH" = "i686" ]; then SLKCFLAGS="-O2 -march=i686 -mtune=i686" @@ -54,6 +54,8 @@ else LIBDIRSUFFIX="" fi +DOCS="AUTHORS COPYING ChangeLog INSTALL NEWS README $CWD/$PRGNAM.SlackBuild" + set -e rm -rf $PKG @@ -89,6 +91,9 @@ find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | gr | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION +cp -a $DOCS $PKG/usr/doc/$PRGNAM-$VERSION +chown -R root:root $PKG/usr/doc/$PRGNAM-$VERSION +chmod 0644 $PKG/usr/doc/$PRGNAM-$VERSION/* cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild mkdir -p $PKG/install |