summaryrefslogtreecommitdiff
path: root/multimedia/mkvtoolnix/mkvtoolnix.SlackBuild
diff options
context:
space:
mode:
authorOzan Türkyılmaz <ozan.turkyilmaz@gmail.com>2011-05-08 00:30:41 -0500
committerRobby Workman <rworkman@slackbuilds.org>2011-05-08 00:30:41 -0500
commitb47df3d587048739fcf9aaa05755bbc42d383610 (patch)
tree4a020362402ebc51a45562d3265fbbdec5a87d81 /multimedia/mkvtoolnix/mkvtoolnix.SlackBuild
parent9b1ed1baf948399c93ac5ba4ce36dd86a1121270 (diff)
downloadslackbuilds-b47df3d587048739fcf9aaa05755bbc42d383610.tar.gz
multimedia/mkvtoolnix: Updated for version 4.7.0.
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'multimedia/mkvtoolnix/mkvtoolnix.SlackBuild')
-rw-r--r--multimedia/mkvtoolnix/mkvtoolnix.SlackBuild22
1 files changed, 12 insertions, 10 deletions
diff --git a/multimedia/mkvtoolnix/mkvtoolnix.SlackBuild b/multimedia/mkvtoolnix/mkvtoolnix.SlackBuild
index 65d051ef47..d9f0cf4f1f 100644
--- a/multimedia/mkvtoolnix/mkvtoolnix.SlackBuild
+++ b/multimedia/mkvtoolnix/mkvtoolnix.SlackBuild
@@ -25,7 +25,7 @@
# Maintained by Ozan Türkyılmaz ozan.turkyilmaz@gmail.com
PRGNAM=mkvtoolnix
-VERSION=4.6.0
+VERSION=4.7.0
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -60,12 +60,19 @@ fi
set -e
+if [ "$QTGUI" = "yes" ]; then
+ QTCONFIG="enable-"
+else
+ QTCONFIG="disable-"
+fi
+
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
tar xvf $CWD/$PRGNAM-$VERSION.tar.bz2
cd $PRGNAM-$VERSION
+
chown -R root:root .
find . \
\( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \
@@ -73,25 +80,20 @@ find . \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \;
-if [ "$QTGUI" = "yes" ]; then
- do_qt_config="enable-qt"
-else
- do_qt_config="disable-qt"
-fi
-
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \
+ --build=$ARCH-slackware-linux \
--prefix=/usr \
--libdir=/usr/lib${LIBDIRSUFFIX} \
--sysconfdir=/etc \
--mandir=/usr/man \
+ --docdir=/usr/doc/$PRGNAM-$VERSION \
--localstatedir=/var \
--enable-gui \
- --${do_qt_config} \
+ --${QTCONFIG}qt \
--enable-wxwidgets \
- --with-boost \
- --build=$ARCH-slackware-linux
+ --with-boost
./drake pkgdatadir=/usr/doc/$PRGNAM-$VERSION
./drake pkgdatadir=/usr/doc/$PRGNAM-$VERSION install DESTDIR=$PKG