void-packages/srcpkgs/bctoolbox/template

27 lines
801 B
Bash
Raw Normal View History

2018-05-02 21:40:19 +02:00
# Template file for 'bctoolbox'
pkgname=bctoolbox
version=0.6.0
revision=2
2018-05-02 21:40:19 +02:00
build_style=cmake
configure_args="-DENABLE_TESTS_COMPONENT=OFF"
makedepends="mbedtls-devel"
short_desc="Library to create and run audio and video streams"
maintainer="maxice8 <thinkabit.ukim@gmail.com>"
license="GPL-2.0-only"
homepage="https://github.com/BelledonneCommunications/bctoolbox"
distfiles="https://github.com/BelledonneCommunications/bctoolbox/archive/${version}.tar.gz"
checksum=299dedcf8f1edea79964314504f0d24e97cdf24a289896fc09bc69c38eb9f9be
CFLAGS="-Wno-stringop-truncation"
2018-05-02 21:40:19 +02:00
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"
}
}