contrib/mkvtoolnix/Pkgfile

28 lines
618 B
Plaintext
Raw Normal View History

2010-12-14 14:18:57 +01:00
# Description: Tools to create, alter and inspect Matroska files.
2016-05-18 17:04:27 +02:00
# URL: https://mkvtoolnix.download/
2014-11-10 13:28:07 +01:00
# Maintainer: Danny Rawlins, crux at romster dot me
2017-10-12 14:07:43 +02:00
# Depends on: boost file flac libmatroska libvorbis ruby docbook-xsl
# Optional: wxgtk
2008-02-13 21:09:45 +01:00
name=mkvtoolnix
2019-04-18 11:32:25 +02:00
version=33.1.0
2015-12-02 13:32:18 +01:00
release=1
2016-05-18 17:04:27 +02:00
source=(https://mkvtoolnix.download/sources/$name-$version.tar.xz)
2008-02-13 21:09:45 +01:00
2010-12-14 14:18:57 +01:00
build() {
2008-02-13 21:09:45 +01:00
cd $name-$version
2010-12-14 14:18:57 +01:00
2008-02-13 21:09:45 +01:00
./configure \
--prefix=/usr \
2015-12-02 13:32:18 +01:00
--disable-precompiled-headers \
2017-10-12 14:07:43 +02:00
--disable-update-check
2010-12-14 14:18:57 +01:00
2019-04-18 11:32:25 +02:00
rake -j ${JOBS-1}
2017-10-12 14:07:43 +02:00
rake DESTDIR=$PKG install
2010-12-15 14:11:22 +01:00
2017-10-12 14:07:43 +02:00
rm -r $PKG/usr/share/locale
2012-10-20 07:54:25 +02:00
# remove doc's if wxgtk is installed
rm -rf $PKG/usr/share/doc
2008-02-13 21:09:45 +01:00
}