/[gentoo-x86]/net-wireless/uhd/uhd-3.8.2.ebuild
Gentoo

Contents of /net-wireless/uhd/uhd-3.8.2.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (show annotations) (download)
Tue Feb 17 03:32:12 2015 UTC (5 years, 4 months ago) by zerochaos
Branch: MAIN
CVS Tags: HEAD
version bump, cleanup old

(Portage version: 2.2.17/cvs/Linux x86_64, signed Manifest commit with key DD11F94A)

1 # Copyright 1999-2015 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/net-wireless/uhd/uhd-3.8.0.ebuild,v 1.4 2015/01/21 12:09:21 pacho Exp $
4
5 EAPI=5
6 PYTHON_COMPAT=( python2_7 )
7 inherit versionator python-single-r1 gnome2-utils cmake-utils multilib
8
9 DESCRIPTION="Universal Software Radio Peripheral (USRP) Hardware Driver"
10 HOMEPAGE="http://code.ettus.com/redmine/ettus/projects/uhd/wiki"
11
12 image_version=uhd-images_00$(get_version_component_range 1).00$(get_version_component_range 2).00$(get_version_component_range 3)-release
13 SRC_URI="https://github.com/EttusResearch/uhd/archive/release_00$(get_version_component_range 1)_00$(get_version_component_range 2)_00$(get_version_component_range 3).tar.gz -> EttusResearch-UHD-$(get_version_component_range 1).$(get_version_component_range 2).$(get_version_component_range 3).tar.gz \
14 http://files.ettus.com/binaries/images/${image_version}.zip"
15 #https://github.com/EttusResearch/UHD-Mirror/tags
16 #http://files.ettus.com/binaries/images/
17 KEYWORDS="~amd64 ~arm ~x86"
18 S="${WORKDIR}"/uhd-release_00$(get_version_component_range 1)_00$(get_version_component_range 2)_00$(get_version_component_range 3)/host
19
20 LICENSE="GPL-3"
21 SLOT="0/1"
22 IUSE=""
23 RDEPEND="virtual/libusb:1
24 dev-lang/orc
25 dev-libs/boost:=
26 sys-libs/ncurses
27 "
28 DEPEND="${RDEPEND}
29 dev-python/cheetah
30 app-arch/unzip"
31
32 src_prepare() {
33 gnome2_environment_reset #534582
34
35 #this may not be needed in 3.4.3 and above, please verify
36 sed -i 's#SET(PKG_LIB_DIR ${PKG_DATA_DIR})#SET(PKG_LIB_DIR ${LIBRARY_DIR}/uhd)#g' CMakeLists.txt || die
37 }
38
39 src_install() {
40 cmake-utils_src_install
41 python_fix_shebang "${ED}"/usr/$(get_libdir)/${PN}/utils/
42 insinto /lib/udev/rules.d/
43 doins "${S}"/utils/uhd-usrp.rules
44 insinto /usr/share/${PN}
45 doins -r "${WORKDIR}"/"${image_version}"/share/uhd/images
46 }

  ViewVC Help
Powered by ViewVC 1.1.20