blob: 3e6ab2a4e550116b17259a242c022183d39ca69a (
plain)
1 # Description: A library for reading and writing files with the Extensible Binary Meta Language, a binary pendant to XML.
2 # URL: https://github.com/Matroska-Org/libebml
3 # Maintainer: Danny Rawlins, crux at romster dot me
4 # Depends on: cmake ninja
5
6 name=libebml
7 version=1.4.0
8 release=1
9 source=(https://dl.matroska.org/downloads/$name/$name-$version.tar.xz)
10
11 build() {
12 cmake -S$name-$version -Bbuild -GNinja \
13 -DCMAKE_BUILD_TYPE=Release \
14 -DCMAKE_INSTALL_PREFIX=/usr \
15 -DCMAKE_INSTALL_LIBDIR=/usr/lib \
16 -DBUILD_SHARED_LIBS=ON
17
18 cmake --build build
19 DESTDIR=$PKG cmake --install build
20 }
|