2010-12-15 00:18:57 +11:00
|
|
|
# Description: Tools to create, alter and inspect Matroska files.
|
2008-05-16 03:36:14 -04:00
|
|
|
# URL: http://www.bunkus.org/videotools/mkvtoolnix
|
2010-12-15 00:18:57 +11:00
|
|
|
# Maintainer: Danny Rawlins, monster dot romster at gmail dot com
|
|
|
|
# Packager: Han Boetes, han at mijncomputer dot nl
|
2010-12-16 00:11:22 +11:00
|
|
|
# Depends on: boost file flac libmatroska libvorbis ruby
|
2008-02-13 15:09:45 -05:00
|
|
|
|
|
|
|
name=mkvtoolnix
|
2011-03-13 13:47:44 +11:00
|
|
|
version=4.6.0
|
2008-02-13 15:09:45 -05:00
|
|
|
release=1
|
2008-05-16 03:36:14 -04:00
|
|
|
source=(http://www.bunkus.org/videotools/mkvtoolnix/sources/$name-$version.tar.bz2)
|
2008-02-13 15:09:45 -05:00
|
|
|
|
2010-12-15 00:18:57 +11:00
|
|
|
build() {
|
2008-02-13 15:09:45 -05:00
|
|
|
cd $name-$version
|
2010-12-15 00:18:57 +11:00
|
|
|
|
2010-12-16 00:11:22 +11:00
|
|
|
local JOBS="$(sed -e 's/.*\(\-j[ 0-9]\+\) .*/\1/' <<< $MAKEFLAGS)"
|
|
|
|
|
2008-02-13 15:09:45 -05:00
|
|
|
./configure \
|
|
|
|
--prefix=/usr \
|
|
|
|
--mandir=/usr/man
|
2010-12-15 00:18:57 +11:00
|
|
|
|
2010-12-16 00:11:22 +11:00
|
|
|
./drake $JOBS
|
|
|
|
./drake $JOBS DESTDIR=$PKG install
|
|
|
|
|
|
|
|
rm -r \
|
|
|
|
$PKG/usr/man/{ja,nl,zh_CN} \
|
|
|
|
$PKG/usr/share/locale \
|
2011-02-04 19:48:58 +11:00
|
|
|
$PKG/usr/share/doc
|
2010-12-16 00:11:22 +11:00
|
|
|
|
2011-02-04 19:48:58 +11:00
|
|
|
rmdir $PKG/usr/share
|
2008-02-13 15:09:45 -05:00
|
|
|
}
|