void-packages/srcpkgs/bctoolbox/template

27 lines
863 B
Bash

# Template file for 'bctoolbox'
pkgname=bctoolbox
version=4.4.7
revision=1
build_style=cmake
configure_args="-DENABLE_TESTS=ON -DENABLE_TESTS_COMPONENT=OFF
-DCMAKE_MODULE_PATH=/usr/lib/cmake"
makedepends="bcunit-devel mbedtls-devel"
short_desc="Library to create and run audio and video streams"
maintainer="Orphaned <orphan@voidlinux.org>"
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=a8ce770daf4a57165cda1ef401fb3c8eb96ba93e38988e6aae6d8d0bafac4543
bctoolbox-devel_package() {
depends="bctoolbox-${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove usr/share/bctoolbox/cmake
vmove "usr/lib/*.so"
vmove "usr/lib/*.a"
}
}