# Template file for 'uhd' pkgname=uhd version=3.14.1.0 revision=1 wrksrc="${pkgname}-${version}" build_wrksrc=host build_style=cmake hostmakedepends="doxygen pkg-config" makedepends="python-Mako libusb-devel python-numpy python-devel boost-devel" short_desc="Ettus USRP Hardware driver library" maintainer="Remi Pommarel " license="GPL-3.0-or-later" homepage="https://files.ettus.com/" distfiles="https://github.com/EttusResearch/uhd/archive/v${version}.tar.gz" checksum=8fc1ad70d80f7f69a30c957fee218ef8767cfd5a0ee4f0830e506f2b22e5b923 post_install() { rm -rf ${DESTDIR}/usr/lib/uhd/tests } uhd-devel_package() { depends="${makedepends} ${sourcepkg}-${version}_${revision}" short_desc+=" - development files" pkg_install() { vmove usr/include vmove usr/share/man/man1 vmove usr/lib/pkgconfig vmove usr/lib/uhd/examples vmove usr/lib/cmake vmove "usr/lib/*.so" } } uhd-doc_package() { short_desc+=" - doc files" archs=noarch pkg_install() { vmove usr/share/doc } }