blob: b3a76a7c964fa91777901f866913080917a26633 (
plain)
1 # Description: Tools to create, alter and inspect Matroska files.
2 # URL: http://www.bunkus.org/videotools/mkvtoolnix
3 # Maintainer: Danny Rawlins, monster dot romster at gmail dot com
4 # Packager: Han Boetes, han at mijncomputer dot nl
5 # Depends on: boost file flac libmatroska libvorbis ruby
6
7 name=mkvtoolnix
8 version=5.0.0
9 release=1
10 source=(http://www.bunkus.org/videotools/mkvtoolnix/sources/$name-$version.tar.bz2)
11
12 build() {
13 cd $name-$version
14
15 local JOBS="$(sed -e 's/.*\(\-j[ 0-9]\+\) .*/\1/' <<< $MAKEFLAGS)"
16
17 # Disable automagic curl dep used for online update checking
18 sed -i -e '/curl/d' configure.in
19 export CURL_CFLAGS="" CURL_LIBS=""
20
21 autoreconf
22
23 ./configure \
24 --prefix=/usr \
25 --mandir=/usr/man \
26 --disable-precompiled-headers
27
28 ./drake $JOBS
29 ./drake $JOBS DESTDIR=$PKG install
30
31 rm -r \
32 $PKG/usr/man/{ja,nl,zh_CN} \
33 $PKG/usr/share/locale \
34 $PKG/usr/share/doc
35 }
|