2010-12-16 00:04:36 +11:00
|
|
|
# Description: A library for reading and writing files with the Extensible Binary Meta Language, a binary pendant to XML.
|
2017-10-12 21:47:31 +11:00
|
|
|
# URL: https://github.com/Matroska-Org/libebml
|
2014-11-10 23:28:07 +11:00
|
|
|
# Maintainer: Danny Rawlins, crux at romster dot me
|
2019-04-18 19:30:50 +10:00
|
|
|
# Depends on: cmake
|
2008-02-13 15:08:48 -05:00
|
|
|
|
|
|
|
name=libebml
|
2019-12-31 00:56:51 +11:00
|
|
|
version=1.3.10
|
2008-02-13 15:08:48 -05:00
|
|
|
release=1
|
2017-10-12 21:47:31 +11:00
|
|
|
source=(https://dl.matroska.org/downloads/$name/$name-$version.tar.xz)
|
2008-02-13 15:08:48 -05:00
|
|
|
|
2010-12-15 00:12:38 +11:00
|
|
|
build() {
|
2015-04-22 23:59:00 +10:00
|
|
|
cd $name-$version
|
|
|
|
|
2019-04-18 19:30:50 +10:00
|
|
|
mkdir build
|
|
|
|
cd build
|
|
|
|
|
|
|
|
cmake .. \
|
|
|
|
-DCMAKE_BUILD_TYPE=Release \
|
|
|
|
-DCMAKE_INSTALL_PREFIX=/usr \
|
|
|
|
-DCMAKE_INSTALL_LIBDIR=/usr/lib \
|
|
|
|
-DBUILD_SHARED_LIBS=ON
|
2015-04-22 23:59:00 +10:00
|
|
|
|
|
|
|
make
|
2019-04-18 19:30:50 +10:00
|
|
|
make DESTDIR=$PKG install
|
2008-02-13 15:08:48 -05:00
|
|
|
}
|