aboutsummaryrefslogtreecommitdiffstats
path: root/main/libmatroska/APKBUILD
blob: 037f83cec8bc8da24aa72d07ae409ae52545ba54 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
# Contributor: Timo Teräs <timo.teras@iki.fi>
# Maintainer: Timo Teräs <timo.teras@iki.fi>
pkgname=libmatroska
pkgver=1.4.8
pkgrel=0
pkgdesc="a C++ library to parse Matroska files"
url="http://www.matroska.org/"
arch="all"
license="LGPL"
makedepends="libebml-dev>=1.3.3"
subpackages="$pkgname-dev"
source="http://dl.matroska.org/downloads/$pkgname/$pkgname-$pkgver.tar.xz"
builddir="$srcdir"/$pkgname-$pkgver

build() {
	cd "$builddir"
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--disable-static
	make
}

package() {
	cd "$builddir"
	make install DESTDIR="$pkgdir"
}

sha512sums="af3b8bfae891be77896b6afa2da3325ebba73a957cd43a4e6086b68e1237bb37b2e6d5eb57322c05ede0ad0c03464087b77fbdf06101314f09411648e1073cee  libmatroska-1.4.8.tar.xz"