diff options
Diffstat (limited to 'net-wireless/gr-ieee802154')
-rw-r--r-- | net-wireless/gr-ieee802154/Manifest | 3 | ||||
-rw-r--r-- | net-wireless/gr-ieee802154/gr-ieee802154-9999.ebuild | 44 | ||||
-rw-r--r-- | net-wireless/gr-ieee802154/metadata.xml | 11 |
3 files changed, 58 insertions, 0 deletions
diff --git a/net-wireless/gr-ieee802154/Manifest b/net-wireless/gr-ieee802154/Manifest new file mode 100644 index 000000000000..adfe053f8c9e --- /dev/null +++ b/net-wireless/gr-ieee802154/Manifest @@ -0,0 +1,3 @@ +EBUILD gr-ieee802154-9999.ebuild 1117 SHA256 6aa3d08e6d89dac44b3eef5681b718b6ab6c8f6406a3884ded5a48d2d51b9686 SHA512 9c4d0358f1389352ae4d5d37fd1ad0b6fd2c55ff75392d2096fd3602f024293a8b1f33483eefce3f8cc193716dc619e267f0ae757b9a90bfde64017cf7c3a089 WHIRLPOOL 45f8f9712289f93eb28069468ceb6280f26500c2f9084cfc3731046b4ce308e617bdba687f65d3b092dc5446ab803e15358165dc534494f1c94c350450d2e9cf +MISC ChangeLog 399 SHA256 6fd826f6b8e6788f581c0c3762635963cd54a60170444c663b8dfd63a37cf8fe SHA512 eeb43eeb609bc0a0ed6dbf58247a0f8148417141f0af4a18c41737cbe4c20376df008c6b7d504738936d3f19cb81709e45277b4943635e2e3ffe4ea885f5f769 WHIRLPOOL 072d68af788b9d370b03bdd116671c66c9d3d986aacce1de3900f814cf0a3aa35d815f315aad09755fb2995aceac42a31c1dd2e21b7c6ea84ea0beedb7ed04ae +MISC metadata.xml 326 SHA256 d7cc5a8732167815bae4a23fc1df576f0bf39c408159098981ca69b832f6f4e7 SHA512 725d903a1befe5e9b41eae5478f65f11dd30a42c5c73597cd8a613347a271528357a176d5e88359ff6cd1074070e6ff413cb70f23d21b9467dd53a5b0d2d65a9 WHIRLPOOL 8366fe19a7c15a806f6997d81115d497ffe5e533d24882510955d5fec1e754380705b276ce0d34dda254f0cb70e660e404a6d9721a7ce6b773a2201ae9544f7d diff --git a/net-wireless/gr-ieee802154/gr-ieee802154-9999.ebuild b/net-wireless/gr-ieee802154/gr-ieee802154-9999.ebuild new file mode 100644 index 000000000000..d697f092a4dd --- /dev/null +++ b/net-wireless/gr-ieee802154/gr-ieee802154-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="IEEE 802.15.4 ZigBee Transceiver" +HOMEPAGE="https://github.com/bastibl/gr-ieee802-15-4" + +if [[ ${PV} == 9999* ]]; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/bastibl/gr-ieee802-15-4.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-ieee802154/metadata.xml b/net-wireless/gr-ieee802154/metadata.xml new file mode 100644 index 000000000000..e3eacc7eb7ed --- /dev/null +++ b/net-wireless/gr-ieee802154/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">bastibl/gr-ieee802-15-4</remote-id> + </upstream> +</pkgmetadata> |