1
0
forked from ports/contrib

31 lines
731 B
Plaintext
Raw Normal View History

2010-12-15 00:18:57 +11:00
# Description: Tools to create, alter and inspect Matroska files.
2016-05-19 01:04:27 +10:00
# URL: https://mkvtoolnix.download/
2014-11-10 23:28:07 +11:00
# Maintainer: Danny Rawlins, crux at romster dot me
2017-10-12 23:07:43 +11:00
# Depends on: boost file flac libmatroska libvorbis ruby docbook-xsl
# Optional: wxgtk
2008-02-13 15:09:45 -05:00
name=mkvtoolnix
2017-10-12 23:07:43 +11:00
version=16.0.0
2015-12-02 23:32:18 +11:00
release=1
2016-05-19 01:04:27 +10:00
source=(https://mkvtoolnix.download/sources/$name-$version.tar.xz)
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
2013-11-19 22:38:30 +11:00
local JOBS=$(awk 'BEGIN{RS="-j|--jobs="} NR==2 {print $1}' <<< $MAKEFLAGS)
2017-10-12 23:07:43 +11:00
test -n "$JOBS" && export JOBS="-j $JOBS"
2011-05-21 12:25:19 +10:00
2008-02-13 15:09:45 -05:00
./configure \
--prefix=/usr \
2015-12-02 23:32:18 +11:00
--disable-precompiled-headers \
2017-10-12 23:07:43 +11:00
--disable-update-check
2010-12-15 00:18:57 +11:00
2017-10-12 23:07:43 +11:00
rake $JOBS
rake DESTDIR=$PKG install
2010-12-16 00:11:22 +11:00
2017-10-12 23:07:43 +11:00
rm -r $PKG/usr/share/locale
2012-10-20 16:54:25 +11:00
# remove doc's if wxgtk is installed
rm -rf $PKG/usr/share/doc
2008-02-13 15:09:45 -05:00
}