diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-03-31 10:55:17 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-03-31 10:55:17 +0100 |
commit | 75fc75ae1f0481ffdb78450e801a9b443ba641bd (patch) | |
tree | cef96ea0860ae39a202bbf1e226100335209627d /net-libs/libhackrf | |
parent | 1173ad5704ce725916e0c332416aff326d850d06 (diff) |
gentoo resync : 31.03.2018
Diffstat (limited to 'net-libs/libhackrf')
-rw-r--r-- | net-libs/libhackrf/Manifest | 2 | ||||
-rw-r--r-- | net-libs/libhackrf/libhackrf-2018.01.1.ebuild | 45 |
2 files changed, 47 insertions, 0 deletions
diff --git a/net-libs/libhackrf/Manifest b/net-libs/libhackrf/Manifest index 0ece3c829734..e160c479c942 100644 --- a/net-libs/libhackrf/Manifest +++ b/net-libs/libhackrf/Manifest @@ -2,9 +2,11 @@ DIST hackrf-2014.04.1.tar.xz 14375500 BLAKE2B 9bf73bb331ee73b60d3e6ec0c0a4ebd11e DIST hackrf-2014.08.1.tar.xz 14376904 BLAKE2B 6ff096dc3e3072811dcb324c71b56fd2023e8e7bb39f8977ee783edc835b588935f1afb1a26ebcdd16c1e6727be3f82e59d2c34e2f193aff43638c22f3956905 SHA512 2bb2e9398479f635fc4cb73875d9728c689f5d29bfbdcaae661d98ecafe51d38ac8768dd4f38b87766195d9ed08757e76d790030edf6f6f572d547146287c073 DIST hackrf-2015.07.2.tar.xz 14415212 BLAKE2B c9ef83e7a4c1c0cca9ea592c02cc1fe9fc5f42203d177f15b36893e719cf3c269cdb8c3d0e13ed5c51826b8e346b58d572b96c3d197c615e58f9d4464a306c14 SHA512 a4f7b7800ece9b260d5c8c374f5544aa55cd2e97e10c6a0b33cf476e2ad4811321ffb1308d9dfb2168b2624cd3af616d1c314ad86bcd6f4c3fd0897319fa2cbd DIST hackrf-2017.02.1.tar.xz 15409352 BLAKE2B 930c6d30cbcadd366f889add7cd8f9756edf7a6b82a478353ea94662e9d2e0b612ca5ec0473eb0083dcbec761f2d5385eea31608f50f81543449ffa4bc31d277 SHA512 7cd6ad9aa8fef8afed41c48a3358bff18c6b2a9a112b13daabda87726e0e3ca4cf1e0c0c6ff9689bdd49f854e2e5887a84ccd7975abef43a43b75ecf8a5236ce +DIST hackrf-2018.01.1.tar.xz 15464500 BLAKE2B 3a56305ce17b46660621b8f3e996e35909d7a8e7ab88ef643ed8f4c8d68f346e11dfe5fd2cb37aa23af62f202f28d9a8dc1da0cd8768fdbd6f293c65562f25a4 SHA512 89848fb58a8a29f7fe85bd817d5716117a2c7a5f2c4bb8582ad1ba8186831ca3054ea1314de943d1e923641eb18b6008cd8af79585e58fa50d55d5a7fd1b04e4 EBUILD libhackrf-2014.04.1.ebuild 671 BLAKE2B a909955f757c406e2f41942b0810b3bad641c0eb5e7ce36af0519145b216abf992cd4d3f64cd82d90fde7873b4b26c747a01509c368c0250af0250e9e0a22837 SHA512 739ee11926e00ce289b5a80cb39b0f9c0061b99382364c3f8084ef7a9c2092dd19d7a8d0908d07dc03024e677e47f03d7b322615aabb744552efeb8f3d8ea76f EBUILD libhackrf-2014.08.1.ebuild 878 BLAKE2B 258be0028e9a87fec2b2ca34e97245e3c9b4af3f4187a2be58d8f1a7d1a625d4fef8f17816eed9e6777de7054ea1349a1ab35f165b7cde66521355fa3fc353ce SHA512 09937011ec15856fd3a0bac7c11f3c8e7ca2fff6a5cbc072ad9a08695982330231ee5c132d98fe72244b19aa46a46e0b46071375882f36cf5125f42198fdf309 EBUILD libhackrf-2015.07.2.ebuild 1026 BLAKE2B c71be2515b07ae92aebcaba336ddfecabf5bf0c92e170e82b0d76ead28a481e40fe8e5590956fc10e1f6807058c1d030ce072979a2c0f33e3459824b6a1bf079 SHA512 f0edc37331a90968939a1cb0891e37d8ca9f5ccaa7e934a082d3235548cc235563443abcf92bc8d39839c7177bfefcbeababc6bae5a22ac9c218bd2cd494f8eb EBUILD libhackrf-2017.02.1.ebuild 1023 BLAKE2B 71fbd223d93a52da2aa85660529a5ef82a65c9150482a58ae648bf3ba6a30750f9a95f87e5bd41aa7871b79a5cc22b3723bc7d35b8e5121f2b4c50580eec4fab SHA512 294a3c13016822a75531d8bde30e9bb1f3832494d0f944f77975dd817be573e332f709f4aa8f20599424396c6e2ba32f122a50822fc344e669d9b5014006ff59 +EBUILD libhackrf-2018.01.1.ebuild 1023 BLAKE2B deb0d52f8c263d439ca72b1351aca7b7413fc14c8c13cb934d52cd113c4b7c2a3b9ad47a61700f1a8ab9fe216bc790df1255449db23ac7ba19f830868270b905 SHA512 b160bc4cd6034f4f423d271f2c07ca851e41471e4ddec39692ea8705f3b527d5047a28af58f521160e9d336ca63318cebf80a4da3d202097376ff763d75e36a2 EBUILD libhackrf-9999.ebuild 1023 BLAKE2B 71fbd223d93a52da2aa85660529a5ef82a65c9150482a58ae648bf3ba6a30750f9a95f87e5bd41aa7871b79a5cc22b3723bc7d35b8e5121f2b4c50580eec4fab SHA512 294a3c13016822a75531d8bde30e9bb1f3832494d0f944f77975dd817be573e332f709f4aa8f20599424396c6e2ba32f122a50822fc344e669d9b5014006ff59 MISC metadata.xml 477 BLAKE2B b801f5f0a79afbd3227a4ee2688b9332824f61b8bda623565d2f36408dc792aacc273495d7ada5a37a69092bedc61b7ca28952738a5969bfe3132253423d437d SHA512 ba679c6d4942d6a0f8efb480f820434676e37148bc60b481e9b7b0fe13b6037ee8c450632a85de25ed08e96b6e3308ee7b54b8a5f5130cd43827ad811d59a825 diff --git a/net-libs/libhackrf/libhackrf-2018.01.1.ebuild b/net-libs/libhackrf/libhackrf-2018.01.1.ebuild new file mode 100644 index 000000000000..672fac64ed5f --- /dev/null +++ b/net-libs/libhackrf/libhackrf-2018.01.1.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit cmake-utils udev + +DESCRIPTION="library for communicating with HackRF SDR platform" +HOMEPAGE="http://greatscottgadgets.com/hackrf/" + +if [[ ${PV} == "9999" ]] ; then + EGIT_REPO_URI="https://github.com/mossmann/hackrf.git" + inherit git-r3 + KEYWORDS="" + EGIT_CHECKOUT_DIR="${WORKDIR}/hackrf" + S="${WORKDIR}/hackrf/host/libhackrf" +else + S="${WORKDIR}/hackrf-${PV}/host/libhackrf" + SRC_URI="https://github.com/mossmann/hackrf/releases/download/v${PV}/hackrf-${PV}.tar.xz" + KEYWORDS="~amd64 ~arm ~ppc ~x86" +fi + +LICENSE="BSD" +SLOT="0/${PV}" +IUSE="+udev" + +DEPEND="virtual/libusb:1" +RDEPEND="${DEPEND}" + +src_configure(){ + mycmakeargs=( + -DENABLE_INSTALL_UDEV_RULES="$(usex udev)" + ) + if use udev; then + mycmakeargs+=( + -DUDEV_RULES_GROUP=usb + -DUDEV_RULES_PATH="$(get_udevdir)/rules.d" + ) + fi + cmake-utils_src_configure +} + +pkg_postinst() { + use udev && einfo "Users in the usb group can use hackrf." +} |