APKBUILD 1.09 KB
Newer Older
1
# Contributor: Sören Tempel <soeren+alpine@soeren-tempel.net>
2
# Contributor: Carlo Landmeter <clandmeter@gmail.com>
3
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
4
pkgname=mkvtoolnix
5
pkgver=18.0.0
6
pkgrel=0
7
pkgdesc="Set of tools to create, edit and inspect Matroska files"
8
url="https://mkvtoolnix.download/index.html"
9 10
arch="all"
license="GPL"
11
makedepends="libmatroska-dev flac-dev libvorbis-dev boost-dev
12
	zlib-dev file-dev libogg-dev ruby-rake ruby-json bash docbook-xsl"
13
options="!check"
14
subpackages="$pkgname-doc"
15 16
source="https://mkvtoolnix.download/sources/$pkgname-$pkgver.tar.xz"
builddir="$srcdir"/$pkgname-$pkgver
17

18
build() {
19 20
	cd "$builddir"
	./configure CC="${CC:-gcc}" CFLAGS="${CFLAGS}" \
21 22 23 24 25 26
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--localstatedir=/var \
27 28
		--without-gettext
	rake V=1 -j${JOBS}
29 30 31
}

package() {
32
	cd "$builddir"
33
	rake DESTDIR="$pkgdir" install
34 35
}

36
sha512sums="3094bc4859a29bc35a9051989a327a50bcfc2a033386f9ece0dba23a5221037ae6aa318345ecae024ef7884fc3622b56bf3cbafbee9e2b116b74bb28c5d779f9  mkvtoolnix-18.0.0.tar.xz"