forked from ports/contrib
26 lines
546 B
Plaintext
26 lines
546 B
Plaintext
# Description: An extensible open standard Audio/Video container format library.
|
|
# URL: https://github.com/Matroska-Org/libmatroska
|
|
# Maintainer: Danny Rawlins, crux at romster dot me
|
|
# Depends on: libebml
|
|
|
|
name=libmatroska
|
|
version=1.5.2
|
|
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
|
|
}
|