void-packages/srcpkgs/bcmatroska2/template

24 lines
735 B
Bash

# Template file for 'bcmatroska2'
pkgname=bcmatroska2
version=5.3.79
revision=1
build_style=cmake
configure_args="-DBUILD_SHARED_LIBS=TRUE"
makedepends="bctoolbox-devel"
short_desc="C library for working with matroska files"
maintainer="John <me@johnnynator.dev>"
license="GPL-2.0-only"
homepage="https://gitlab.linphone.org/BC/public/bcmatroska2"
distfiles="https://gitlab.linphone.org/BC/public/bcmatroska2/-/archive/${version}/bcmatroska2-${version}.tar.gz"
checksum=3f2cfaa97f6f5d4a22536008c40f0d23f8bc421c166cd59f0253b63c38113a21
bcmatroska2-devel_package() {
depends="bcmatroska2-${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/cmake
vmove "usr/lib/*.so"
}
}