summaryrefslogblamecommitdiff
path: root/user/libebml/APKBUILD
blob: e9145cd5afa2b76a7e1e2896ebe2278d8452a3bb (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11


                                              
             






                                                                
                   



                                                                           





                                                     
                                           



            


                                      
                                                                                                                                                                    
# Contributor: Timo Teräs <timo.teras@iki.fi>
# Maintainer: 
pkgname=libebml
pkgver=1.3.10
pkgrel=0
pkgdesc="Library to parse Extensible Binary Meta-Language files"
url="https://www.matroska.org/"
arch="all"
options="!check"  # No test suite.
license="LGPL-2.1+"
depends=""
makedepends="cmake"
subpackages="$pkgname-dev"
source="https://dl.matroska.org/downloads/$pkgname/$pkgname-$pkgver.tar.xz"

build() {
	cmake \
		-DCMAKE_INSTALL_PREFIX=/usr \
		-DCMAKE_INSTALL_LIBDIR=lib \
		-DBUILD_SHARED_LIBS=True \
		-DCMAKE_BUILD_TYPE=RelWithDebugInfo \
		-DCMAKE_CXX_FLAGS="$CXXFLAGS" \
		-DCMAKE_C_FLAGS="$CFLAGS" .
	make
}

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

sha512sums="c7ba20664161e811a10847f888a833abaa2b7a4d43ddbef6ae927f391f5d1eff45bc703f13a52ccfc793521e3b22cbac2fd93550cd95119a4060153683b29c49  libebml-1.3.10.tar.xz"