contrib/libebml/Pkgfile

21 lines
595 B
Plaintext
Raw Normal View History

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