From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 442C81395E2 for ; Wed, 9 Nov 2016 19:10:09 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id C4915E0ABC; Wed, 9 Nov 2016 19:10:06 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id A7F3DE0ABC for ; Wed, 9 Nov 2016 19:10:06 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id DF2A1341293 for ; Wed, 9 Nov 2016 19:10:04 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 1A9D5858 for ; Wed, 9 Nov 2016 19:10:03 +0000 (UTC) From: "Richard Farina" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Richard Farina" Message-ID: <1478718584.d4860fdd5ddca52a5cdd22a5fbc9d28434862b8c.zerochaos@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: net-wireless/gr-rftap/ X-VCS-Repository: repo/gentoo X-VCS-Files: net-wireless/gr-rftap/gr-rftap-9999.ebuild net-wireless/gr-rftap/metadata.xml X-VCS-Directories: net-wireless/gr-rftap/ X-VCS-Committer: zerochaos X-VCS-Committer-Name: Richard Farina X-VCS-Revision: d4860fdd5ddca52a5cdd22a5fbc9d28434862b8c X-VCS-Branch: master Date: Wed, 9 Nov 2016 19:10:03 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 5984f7d5-5f03-4bc0-8775-12407218ad13 X-Archives-Hash: 96a204addb0f92e4170be32819f99a53 commit: d4860fdd5ddca52a5cdd22a5fbc9d28434862b8c Author: Zero_Chaos gentoo org> AuthorDate: Wed Nov 9 19:09:17 2016 +0000 Commit: Richard Farina gentoo org> CommitDate: Wed Nov 9 19:09:44 2016 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d4860fdd gr-rftap: and why not net-wireless/gr-rftap/gr-rftap-9999.ebuild | 45 ++++++++++++++++++++++++++++++ net-wireless/gr-rftap/metadata.xml | 11 ++++++++ 2 files changed, 56 insertions(+) diff --git a/net-wireless/gr-rftap/gr-rftap-9999.ebuild b/net-wireless/gr-rftap/gr-rftap-9999.ebuild new file mode 100644 index 00000000..7fc8831 --- /dev/null +++ b/net-wireless/gr-rftap/gr-rftap-9999.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 +PYTHON_COMPAT=( python2_7 ) + +inherit cmake-utils python-single-r1 + +DESCRIPTION="RFtap Module for GNU Radio" +HOMEPAGE="https://github.com/rftap/gr-rftap" + +if [[ ${PV} == 9999* ]]; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/rftap/gr-rftap.git" + KEYWORDS="" +#else +# SRC_URI="" +# KEYWORDS="" +fi + +LICENSE="GPL-3" +SLOT="0/${PV}" + +RDEPEND=">=net-wireless/gnuradio-3.7_rc:0=[${PYTHON_USEDEP}] + dev-libs/boost:=[${PYTHON_USEDEP}] + ${PYTHON_DEPS}" +DEPEND="${RDEPEND} + dev-lang/swig:0" +#cppunit is listed in cmake, but only needed for tests and there are no tests +# dev-util/cppunit" + +REQUIRED_USE="${PYTHON_REQUIRED_USE}" + +src_prepare() { + #although cppunit is not used, it fails if it isn't there, fix it + sed -i 's#FATAL_ERROR "CppUnit#MESSAGE "CppUnit#' CMakeLists.txt + sed -i '/${CPPUNIT_INCLUDE_DIRS}/d' CMakeLists.txt + sed -i '/${CPPUNIT_LIBRARY_DIRS}/d' CMakeLists.txt +} + +src_configure() { + mycmakeargs=( -DPYTHON_EXECUTABLE="${PYTHON}" ) + cmake-utils_src_configure +} diff --git a/net-wireless/gr-rftap/metadata.xml b/net-wireless/gr-rftap/metadata.xml new file mode 100644 index 00000000..390b5fa --- /dev/null +++ b/net-wireless/gr-rftap/metadata.xml @@ -0,0 +1,11 @@ + + + + + radio@gentoo.org + Radio + + + rftap/gr-rftap + +