mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-06 00:48:18 -07:00
net-libs/libhackrf: drop old
Package-Manager: Portage-3.0.18, Repoman-3.0.3 Signed-off-by: Rick Farina <zerochaos@gentoo.org>
This commit is contained in:
@@ -1,2 +1 @@
|
||||
DIST hackrf-2018.01.1.tar.xz 15464500 BLAKE2B 3a56305ce17b46660621b8f3e996e35909d7a8e7ab88ef643ed8f4c8d68f346e11dfe5fd2cb37aa23af62f202f28d9a8dc1da0cd8768fdbd6f293c65562f25a4 SHA512 89848fb58a8a29f7fe85bd817d5716117a2c7a5f2c4bb8582ad1ba8186831ca3054ea1314de943d1e923641eb18b6008cd8af79585e58fa50d55d5a7fd1b04e4
|
||||
DIST hackrf-2021.03.1.tar.xz 13661964 BLAKE2B 0a00b2d24cc6ac7ca36f66e8f5b3029cfd446a6c5b5427f7d25db6dd191693c1e1c010abd85907813d55c6bd367780c70860b4f7e7f83fb9970d425311893780 SHA512 4a88b877a9f6fee0c8d9496eb265655af4baa678e862ca6147596cd3a1d85dd50315da6531efa54d050847ce5068c4726393b4897d40576888d10a898ad57139
|
||||
|
||||
@@ -1,44 +0,0 @@
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# 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
|
||||
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() {
|
||||
local mycmakeargs=(
|
||||
-DINSTALL_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."
|
||||
}
|
||||
Reference in New Issue
Block a user