diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
commit | 4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch) | |
tree | ba5f07bf3f9d22d82e54a462313f5d244036c768 /net-wireless/gr-rftap |
reinit the tree, so we can have metadata
Diffstat (limited to 'net-wireless/gr-rftap')
-rw-r--r-- | net-wireless/gr-rftap/Manifest | 3 | ||||
-rw-r--r-- | net-wireless/gr-rftap/gr-rftap-9999.ebuild | 44 | ||||
-rw-r--r-- | net-wireless/gr-rftap/metadata.xml | 11 |
3 files changed, 58 insertions, 0 deletions
diff --git a/net-wireless/gr-rftap/Manifest b/net-wireless/gr-rftap/Manifest new file mode 100644 index 000000000000..477350464bd5 --- /dev/null +++ b/net-wireless/gr-rftap/Manifest @@ -0,0 +1,3 @@ +EBUILD gr-rftap-9999.ebuild 1093 SHA256 1048ea145cb8b83d90cac89a27e13729822db528b8ecacd4859ca1048474db30 SHA512 71427c74384056940724723ee14a6d150863b8438fd474e60f50779e91e354e4254e2bdf5593edf6ac79f9465b64b244a634d0c8b68b7a6d6a42b88151d4ac99 WHIRLPOOL b4bdf3ee295adad3a783ddb4495588b20403df534c7f039abb041722dc4e03ddf5ffb84b83943ac08959c5cceda54a6a1fc4dd09ccffcc81ee20ef12fd12096e +MISC ChangeLog 285 SHA256 c2372ccfbd36fdfa3eda47c9b99aab549df81f2627a2b5f4fc3b2c6aea3c6695 SHA512 a6557be8a6dd64f4a46322ad92c0ba8a3dc5590633130561db2ed3b8a4b674555c0df5f5c65bc57d6c97c24c65a297b2a597510bfe10fe74cbd8e0154de2d668 WHIRLPOOL b091cfa6dd61557b85e077c42407ccbf66f381609a39eea2b6dde7c13b8fb65c5c32e59263fe66d74069611cdd9fd4b56a528666f60ab2713166e2468c4d9a86 +MISC metadata.xml 317 SHA256 4b407c972d68cff6c47231526acbaaa484a26f1c07843399188225290d5ddfc5 SHA512 bd237119e49e0e715f528eea05fc9cb8fd758779209849c7a5e5ffd964c98b3912c63af8363192ba94db59d2b62a4dd28c9d1521d61b843b02fe3feb6ad9558a WHIRLPOOL e93d128eba9a462bef45fac5ced6b7b40df58c18e690a1857d0826bd538ccd4d4df383b68d9e43b3d6ebeec69715fa083371e924aec6539adcd2b264591261ef 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 000000000000..e0f9dc95c130 --- /dev/null +++ b/net-wireless/gr-rftap/gr-rftap-9999.ebuild @@ -0,0 +1,44 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +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 000000000000..390b5fa8048e --- /dev/null +++ b/net-wireless/gr-rftap/metadata.xml @@ -0,0 +1,11 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>radio@gentoo.org</email> + <name>Radio</name> + </maintainer> + <upstream> + <remote-id type="github">rftap/gr-rftap</remote-id> + </upstream> +</pkgmetadata> |