void-packages/srcpkgs/bctoolbox/template

27 lines
872 B
Bash

# Template file for 'bctoolbox'
pkgname=bctoolbox
version=5.3.79
revision=2
build_style=cmake
configure_args="-DENABLE_TESTS=ON -DENABLE_TESTS_COMPONENT=FALSE
-DENABLE_STRICT=FALSE -DCMAKE_MODULE_PATH=/usr/lib/cmake
-DBUILD_SHARED_LIBS=ON"
makedepends="bcunit-devel mbedtls-devel"
short_desc="Library to create and run audio and video streams"
maintainer="John <me@johnnynator.dev>"
license="GPL-2.0-only"
homepage="https://gitlab.linphone.org/BC/public/bctoolbox"
distfiles="https://gitlab.linphone.org/BC/public/bctoolbox/-/archive/${version}/bctoolbox-${version}.tar.gz"
checksum=8293326971b5e7c3b0ef77e4f62653ecaf169af0c82d34acb1e26ff62c4e3801
bctoolbox-devel_package() {
depends="bctoolbox-${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove usr/lib/cmake
vmove "usr/lib/*.so"
}
}