### this file is sourced not run
PKGVER=1.4.4
PKGBUILD=1
PKGARCH=x86_64

# source: james
TARBALL=libebml-${PKGVER}.tar.gz
MD5SUM=e37a2f4798a37620d329788c9bff0d63
SRC_URL=https://github.com/Matroska-Org/libebml/archive/refs/tags/release-$PKGVER.tar.gz
BUNDLE=

SLACKREQ=''
SLACKDESC='libebml: libeml '$PKGVER' (EBML parser library)
libebml: 
libebml: EBML is a simplified binary extension of XML for the purpose of 
libebml: storing and manipulating data in a hierarchical form with variable 
libebml: field lengths. It is used by Matroska files.
libebml: 
libebml: http://matroska-org.github.io/libebml/
libebml: 
libebml: 
libebml: 
libebml: 
'

### default pkg_download
### default pkg_prepare
### default pkg_package
### build
pkg_build() {
	cd /tmp/libebml* &&
	mkdir bld &&
	cd bld &&
	cmake -DCMAKE_INSTALL_PREFIX=/usr \
		  -DENABLE_STATIC=OFF         \
		  -DLIB_INSTALL_DIR=$LIBDIR   \
		  -DLIB_SUFFIX="64" \
		  -DBUILD_SHARED_LIBS=YES \
		   ..               &&
	make $MAKEFLAGS &&
	make install &&
	pkg_build_slackdesc
}



