aboutsummaryrefslogtreecommitdiffstats
path: root/main/libebml/APKBUILD
blob: 03defb8b3f846739a029f60326a5893cf3868752 (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
31
32
33
34
35
36
37
38
39
40
# Contributor: Timo Teräs <timo.teras@iki.fi>
# Maintainer: Timo Teräs <timo.teras@iki.fi>
pkgname=libebml
pkgver=1.3.0
pkgrel=0
pkgdesc="a C++ library to parse Extensible Binary Meta-Language files"
url="http://www.matroska.org/"
arch="all"
license="LGPL"
depends=""
depends_dev=""
makedepends="$depends_dev"
install=""
subpackages="$pkgname-dev"
source="http://dl.matroska.org/downloads/$pkgname/$pkgname-$pkgver.tar.bz2"

_builddir="$srcdir"/$pkgname-$pkgver
prepare() {
	local i
	cd "$_builddir"
	for i in $source; do
		case $i in
		*.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
		esac
	done
}

build() {
	cd "$_builddir"
	make -C make/linux
}

package() {
	cd "$_builddir"
	make -C make/linux install prefix="$pkgdir/usr"
}

md5sums="efec729bf5a51e649e1d9d1f61c0ae7a  libebml-1.3.0.tar.bz2"
sha256sums="83b074d6b62715aa0080406ea84d33df2e44b5d874096640233a4db49b8096de  libebml-1.3.0.tar.bz2"
sha512sums="f5687af60e94f167cd341c24f038d57735d447b6279e96b916e3b0a98ca141f3c241ef4c46dd55ac87b0f6007eb14835e0f2a602f89610fcc0b4f93e8b9c87ab  libebml-1.3.0.tar.bz2"