diff options
author | Rick Farina (Zero_Chaos) <zerochaos@gentoo.org> | 2022-02-15 14:05:10 -0500 |
---|---|---|
committer | Rick Farina <zerochaos@gentoo.org> | 2022-02-24 11:04:26 -0500 |
commit | a541e110c63621f7768ae68489bc59bae114f6b2 (patch) | |
tree | f6fb8b8bfe35bc45ea4b49d5c07785304b7ee3fc /net-wireless | |
parent | net-wireless/uhd: fix phase order (diff) | |
download | gentoo-a541e110c63621f7768ae68489bc59bae114f6b2.tar.gz gentoo-a541e110c63621f7768ae68489bc59bae114f6b2.tar.bz2 gentoo-a541e110c63621f7768ae68489bc59bae114f6b2.zip |
net-wireless/uhd: backport changes to 3.15
Signed-off-by: Rick Farina (Zero_Chaos) <zerochaos@gentoo.org>
Diffstat (limited to 'net-wireless')
-rw-r--r-- | net-wireless/uhd/uhd-3.15.0.0-r100.ebuild | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/net-wireless/uhd/uhd-3.15.0.0-r100.ebuild b/net-wireless/uhd/uhd-3.15.0.0-r100.ebuild index 598f6ea06237..8d5e3e111f99 100644 --- a/net-wireless/uhd/uhd-3.15.0.0-r100.ebuild +++ b/net-wireless/uhd/uhd-3.15.0.0-r100.ebuild @@ -98,11 +98,12 @@ src_configure() { ) cmake_src_configure } + src_install() { cmake_src_install python_optimize use utils && python_fix_shebang "${ED}"/usr/$(get_libdir)/${PN}/utils/ - if [ "${PV}" != "9999" ]; then + if [[ "${PV}" != "9999" ]]; then rm -rf "${ED}/usr/bin/uhd_images_downloader" rm -rf "${ED}/usr/share/man/man1/uhd_images_downloader.1" fi @@ -110,7 +111,7 @@ src_install() { insinto /lib/udev/rules.d/ doins "${S}/utils/uhd-usrp.rules" - rm -rf "${WORKDIR}/images/winusb_driver" + rm -r "${WORKDIR}/images/winusb_driver" || die if ! use b100; then rm "${WORKDIR}"/images/usrp_b100* || die fi |