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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.4 - (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.3: +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-2013 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.5.3.ebuild,v 1.3 2013/09/16 06:32:37 zerochaos Exp $
4
5 EAPI=5
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 image_version=uhd-images_00$(get_version_component_range 1).00$(get_version_component_range 2).000-release
13 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 \
14 http://files.ettus.com/binaries/maint_images/archive/${image_version}.tar.gz"
15 #https://github.com/EttusResearch/UHD-Mirror/tags
16 #http://files.ettus.com/binaries/master_images/archive
17 KEYWORDS="~amd64 ~arm ~x86"
18 S="${WORKDIR}"/EttusResearch-UHD-Mirror-f4c5812/host
19
20 LICENSE="GPL-3"
21 SLOT="0"
22 IUSE=""
23 RDEPEND="virtual/libusb:1
24 dev-libs/boost:="
25 DEPEND="${RDEPEND}
26 dev-python/cheetah"
27
28 pkg_setup() {
29 python_set_active_version 2
30 python_pkg_setup
31 }
32
33 src_prepare() {
34 #this may not be needed in 3.4.3 and above, please verify
35 sed -i 's#SET(PKG_LIB_DIR ${PKG_DATA_DIR})#SET(PKG_LIB_DIR ${LIBRARY_DIR}/uhd)#g' CMakeLists.txt
36 }
37
38 src_install() {
39 cmake-utils_src_install
40 insinto /lib/udev/rules.d/
41 doins "${S}"/utils/uhd-usrp.rules
42 insinto /usr/share/${PN}
43 doins -r "${WORKDIR}"/"${image_version}"/share/uhd/images
44 }

  ViewVC Help
Powered by ViewVC 1.1.20