contrib/libebml/Pkgfile
2019-12-31 00:56:51 +11:00

26 lines
580 B
Plaintext

# Description: A library for reading and writing files with the Extensible Binary Meta Language, a binary pendant to XML.
# URL: https://github.com/Matroska-Org/libebml
# Maintainer: Danny Rawlins, crux at romster dot me
# Depends on: cmake
name=libebml
version=1.3.10
release=1
source=(https://dl.matroska.org/downloads/$name/$name-$version.tar.xz)
build() {
cd $name-$version
mkdir build
cd build
cmake .. \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_INSTALL_LIBDIR=/usr/lib \
-DBUILD_SHARED_LIBS=ON
make
make DESTDIR=$PKG install
}