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

Contents of /net-wireless/uhd/uhd-3.6.2.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-2014 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.6.2.ebuild,v 1.1 2014/02/22 00:32:38 zerochaos Exp $
4
5 EAPI=5
6 PYTHON_COMPAT=( python2_7 )
7 inherit versionator python-single-r1 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/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}"/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"
22 IUSE=""
23 RDEPEND="virtual/libusb:1
24 dev-libs/boost:="
25 DEPEND="${RDEPEND}
26 dev-python/cheetah"
27
28 src_prepare() {
29 #this may not be needed in 3.4.3 and above, please verify
30 sed -i 's#SET(PKG_LIB_DIR ${PKG_DATA_DIR})#SET(PKG_LIB_DIR ${LIBRARY_DIR}/uhd)#g' CMakeLists.txt
31 }
32
33 src_install() {
34 cmake-utils_src_install
35 python_fix_shebang "${ED}"/usr/$(get_libdir)/${PN}/utils/
36 insinto /lib/udev/rules.d/
37 doins "${S}"/utils/uhd-usrp.rules
38 insinto /usr/share/${PN}
39 doins -r "${WORKDIR}"/"${image_version}"/share/uhd/images
40 }

  ViewVC Help
Powered by ViewVC 1.1.20