forked from ports/contrib
36 lines
963 B
Plaintext
36 lines
963 B
Plaintext
# Description: Tools to create, alter and inspect Matroska files.
|
|
# URL: http://www.bunkus.org/videotools/mkvtoolnix
|
|
# Maintainer: Danny Rawlins, monster dot romster at gmail dot com
|
|
# Packager: Han Boetes, han at mijncomputer dot nl
|
|
# Depends on: boost file flac libmatroska libvorbis ruby
|
|
|
|
name=mkvtoolnix
|
|
version=5.0.1 # later versions require gcc 4.6.x to compile, which may be in crux 2.8
|
|
release=1
|
|
source=(http://www.bunkus.org/videotools/mkvtoolnix/sources/$name-$version.tar.bz2)
|
|
|
|
build() {
|
|
cd $name-$version
|
|
|
|
local JOBS="$(sed -e 's/.*\(\-j[ 0-9]\+\) .*/\1/' <<< $MAKEFLAGS)"
|
|
|
|
# Disable automagic curl dep used for online update checking
|
|
sed -i -e '/curl/d' configure.in
|
|
export CURL_CFLAGS="" CURL_LIBS=""
|
|
|
|
autoreconf
|
|
|
|
./configure \
|
|
--prefix=/usr \
|
|
--mandir=/usr/man \
|
|
--disable-precompiled-headers
|
|
|
|
./drake $JOBS
|
|
./drake $JOBS DESTDIR=$PKG install
|
|
|
|
rm -r \
|
|
$PKG/usr/man/{ja,nl,zh_CN} \
|
|
$PKG/usr/share/locale \
|
|
$PKG/usr/share/doc
|
|
}
|