diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-02-11 16:09:52 +0000 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-02-11 16:09:52 +0000 |
commit | f78108598211053d41752a83e0345441bb9014ae (patch) | |
tree | dd2fc7ae0a1aea7bda4942ab0c453d1e55284b37 /net-wireless/uhd/uhd-3.10.3.0.ebuild | |
parent | dc45b83b28fb83e9659492066e347b8dc60bc9e3 (diff) |
gentoo resync : 11.02.2018
Diffstat (limited to 'net-wireless/uhd/uhd-3.10.3.0.ebuild')
-rw-r--r-- | net-wireless/uhd/uhd-3.10.3.0.ebuild | 58 |
1 files changed, 58 insertions, 0 deletions
diff --git a/net-wireless/uhd/uhd-3.10.3.0.ebuild b/net-wireless/uhd/uhd-3.10.3.0.ebuild new file mode 100644 index 000000000000..9a1c22cdf241 --- /dev/null +++ b/net-wireless/uhd/uhd-3.10.3.0.ebuild @@ -0,0 +1,58 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +PYTHON_COMPAT=( python2_7 ) + +inherit versionator python-single-r1 gnome2-utils cmake-utils multilib + +DESCRIPTION="Universal Software Radio Peripheral (USRP) Hardware Driver" +HOMEPAGE="http://code.ettus.com/redmine/ettus/projects/uhd/wiki" + +image_version=uhd-images_00$(get_version_component_range 1).0$(get_version_component_range 2).00$(get_version_component_range 3).00$(get_version_component_range 4)-release +SRC_URI="https://github.com/EttusResearch/uhd/archive/release_00$(get_version_component_range 1)_0$(get_version_component_range 2)_00$(get_version_component_range 3)_00$(get_version_component_range 4).tar.gz -> EttusResearch-UHD-$(get_version_component_range 1).$(get_version_component_range 2).$(get_version_component_range 3).$(get_version_component_range 4).tar.gz \ + http://files.ettus.com/binaries/images/${image_version}.zip" +#https://github.com/EttusResearch/UHD-Mirror/tags +#http://files.ettus.com/binaries/images/ + +LICENSE="GPL-3" +SLOT="0/1" +KEYWORDS="~amd64 ~arm ~x86" +IUSE="" +REQUIRED_USE="${PYTHON_REQUIRED_USE}" + +RDEPEND="${PYTHON_DEPS} + virtual/libusb:1 + dev-lang/orc + dev-libs/boost:= + sys-libs/ncurses:0[tinfo] +" + +DEPEND="${RDEPEND} + dev-python/mako + dev-python/cheetah + app-arch/unzip +" + +PATCHES=( "${FILESDIR}/${P}-tinfo.patch" ) + +S="${WORKDIR}"/uhd-release_00$(get_version_component_range 1)_0$(get_version_component_range 2)_00$(get_version_component_range 3)_00$(get_version_component_range 4)/host + +src_prepare() { + cmake-utils_src_prepare + + gnome2_environment_reset #534582 + + #this may not be needed in 3.4.3 and above, please verify + sed -i 's#SET(PKG_LIB_DIR ${PKG_DATA_DIR})#SET(PKG_LIB_DIR ${LIBRARY_DIR}/uhd)#g' CMakeLists.txt || die +} + +src_install() { + cmake-utils_src_install + python_fix_shebang "${ED}"/usr/$(get_libdir)/${PN}/utils/ + insinto /lib/udev/rules.d/ + doins "${S}"/utils/uhd-usrp.rules + insinto /usr/share/${PN} + doins -r "${WORKDIR}"/"${image_version}"/share/uhd/images +} |