diff options
author | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2018-07-21 03:08:18 -0500 |
---|---|---|
committer | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2018-07-21 03:08:18 -0500 |
commit | 9bb6499854411bce029814bf4352e999e8a57c2c (patch) | |
tree | da0d0832ad4cab352ca835b2465373dfec60e79d /user/libebml | |
parent | b68c27dee5509c45baaa5c01a3b51c96cfa7d0d9 (diff) | |
download | packages-9bb6499854411bce029814bf4352e999e8a57c2c.tar.gz packages-9bb6499854411bce029814bf4352e999e8a57c2c.tar.bz2 packages-9bb6499854411bce029814bf4352e999e8a57c2c.tar.xz packages-9bb6499854411bce029814bf4352e999e8a57c2c.zip |
user/libebml: pull in, fix up, switch to CMake, bump to 1.3.6
Diffstat (limited to 'user/libebml')
-rw-r--r-- | user/libebml/APKBUILD | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/user/libebml/APKBUILD b/user/libebml/APKBUILD new file mode 100644 index 000000000..e9aad6680 --- /dev/null +++ b/user/libebml/APKBUILD @@ -0,0 +1,32 @@ +# Contributor: Timo Teräs <timo.teras@iki.fi> +# Maintainer: +pkgname=libebml +pkgver=1.3.6 +pkgrel=0 +pkgdesc="Library to parse Extensible Binary Meta-Language files" +url="https://www.matroska.org/" +arch="all" +options="!check" # No test suite. +license="LGPL-2.1+" +depends="" +subpackages="$pkgname-dev" +source="https://dl.matroska.org/downloads/$pkgname/$pkgname-$pkgver.tar.xz" + +build() { + cd "$builddir" + cmake \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_INSTALL_LIBDIR=lib \ + -DBUILD_SHARED_LIBS=True \ + -DCMAKE_BUILD_TYPE=RelWithDebugInfo \ + -DCMAKE_CXX_FLAGS="$CXXFLAGS" \ + -DCMAKE_C_FLAGS="$CFLAGS" + make +} + +package() { + cd "$builddir" + make install DESTDIR="$pkgdir" +} + +sha512sums="6a31a56dcde39642848f25353a462f4621d6cfd3bc9ef62add1b00d098c6a80b3c2b50ecf4d6dd50650c609eb39a6150c6d1b69ea3a77a3928bd3300af7dd91f libebml-1.3.6.tar.xz" |