/[gentoo-x86]/net-wireless/gr-rds/gr-rds-9999.ebuild
Gentoo

Contents of /net-wireless/gr-rds/gr-rds-9999.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (show annotations) (download)
Tue May 12 15:12:54 2015 UTC (5 years, 2 months ago) by zerochaos
Branch: MAIN
CVS Tags: HEAD
initial commit of gr-rds based on ebuild from jannis on bug #533768

(Portage version: 2.2.18/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: $
4
5 EAPI=5
6 PYTHON_COMPAT=( python2_7 )
7
8 inherit cmake-utils python-single-r1
9
10 DESCRIPTION="gnuradio FM RDS Receiver"
11 HOMEPAGE="https://github.com/bastibl/gr-rds"
12
13 if [[ ${PV} == 9999* ]]; then
14 inherit git-r3
15 EGIT_REPO_URI="https://github.com/bastibl/${PN}"
16 KEYWORDS=""
17 #else
18 # SRC_URI=""
19 # KEYWORDS=""
20 fi
21
22 LICENSE="GPL-3"
23 SLOT="0/${PV}"
24
25 RDEPEND=">=net-wireless/gnuradio-3.7_rc:0=[${PYTHON_USEDEP}]
26 dev-libs/boost:=[${PYTHON_USEDEP}]
27 ${PYTHON_DEPS}"
28 DEPEND="${RDEPEND}
29 dev-lang/swig:0"
30 #cppunit is listed in cmake, but only needed for tests and there are no tests
31 # dev-util/cppunit"
32
33 REQUIRED_USE="${PYTHON_REQUIRED_USE}"
34
35 src_prepare() {
36 #although cppunit is not used, it fails if it isn't there, fix it
37 sed -i 's#FATAL_ERROR "CppUnit#MESSAGE "CppUnit#' CMakeLists.txt
38 sed -i '/${CPPUNIT_INCLUDE_DIRS}/d' CMakeLists.txt
39 sed -i '/${CPPUNIT_LIBRARY_DIRS}/d' CMakeLists.txt
40 }
41
42 src_configure() {
43 mycmakeargs=( -DPYTHON_EXECUTABLE="${PYTHON}" )
44 cmake-utils_src_configure
45 }

  ViewVC Help
Powered by ViewVC 1.1.20