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

Contents of /net-wireless/uhd/uhd-3.4.3-r2.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (show annotations) (download)
Fri Aug 22 16:42:29 2014 UTC (5 years, 11 months ago) by zerochaos
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +1 -1 lines
FILE REMOVED
bump, remove a bunch of old/unneeded versions

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

1 # Copyright 1999-2012 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.4.3-r2.ebuild,v 1.1 2012/10/18 17:33:05 zerochaos Exp $
4
5 EAPI=4
6 PYTHON_DEPEND="2:2.6"
7 inherit versionator python cmake-utils
8
9 DESCRIPTION="Universal Software Radio Peripheral (USRP) Hardware Driver"
10 HOMEPAGE="http://code.ettus.com/redmine/ettus/projects/uhd/wiki"
11
12 SRC_URI="https://github.com/EttusResearch/UHD-Mirror/tarball/release_00$(get_version_component_range 1)_00$(get_version_component_range 2)_00$(get_version_component_range 3) -> EttusResearch-UHD-Mirror-$(get_version_component_range 1).$(get_version_component_range 2).$(get_version_component_range 3).tar.gz \
13 http://files.ettus.com/binaries/maint_images/archive/uhd-images_00$(get_version_component_range 1).00$(get_version_component_range 2).002-12-geb083300.tar.gz"
14 #https://github.com/EttusResearch/UHD-Mirror/tags
15 #http://files.ettus.com/binaries/master_images/archive
16 KEYWORDS="~amd64 ~x86"
17 S="${WORKDIR}"/EttusResearch-UHD-Mirror-6047010/host
18
19 LICENSE="GPL-3"
20 SLOT="0"
21 IUSE=""
22 RDEPEND="virtual/libusb:1
23 dev-libs/boost"
24 DEPEND="${RDEPEND}
25 dev-python/cheetah"
26
27 pkg_setup() {
28 python_set_active_version 2
29 python_pkg_setup
30 }
31
32 src_prepare() {
33 #this may not be needed in 3.4.3 and above, please verify
34 sed -i 's#SET(PKG_LIB_DIR ${PKG_DATA_DIR})#SET(PKG_LIB_DIR ${LIBRARY_DIR}/uhd)#g' CMakeLists.txt
35 }
36
37 src_install() {
38 cmake-utils_src_install
39 insinto /lib/udev/rules.d/
40 doins "${S}"/utils/uhd-usrp.rules
41 insinto /usr/share/${PN}
42 doins -r "${WORKDIR}"/uhd-images_00$(get_version_component_range 1).00$(get_version_component_range 2).002-12-geb083300/share/uhd/images
43 }

  ViewVC Help
Powered by ViewVC 1.1.20