aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEli Burch <eli.burch@burchbytes.com>2024-06-15 08:17:28 -0700
committerEli Burch <eli.burch@burchbytes.com>2024-06-15 08:18:16 -0700
commitefb123fd82d49276c1f22ad9e3c63a02e6b95add (patch)
treef6fcda7c4d480719a2269445ac740a181adc5f84 /net-wireless
parentgui-apps/intiface-central-bin: add 2.6.0 (diff)
downloadguru-efb123fd82d49276c1f22ad9e3c63a02e6b95add.tar.gz
guru-efb123fd82d49276c1f22ad9e3c63a02e6b95add.tar.bz2
guru-efb123fd82d49276c1f22ad9e3c63a02e6b95add.zip
net-wireless/airspyhf: use get_udevdir, fix DEPEND issues
Signed-off-by: Eli Burch <eli.burch@burchbytes.com>
Diffstat (limited to 'net-wireless')
-rw-r--r--net-wireless/airspyhf/airspyhf-1.6.8.ebuild9
1 files changed, 5 insertions, 4 deletions
diff --git a/net-wireless/airspyhf/airspyhf-1.6.8.ebuild b/net-wireless/airspyhf/airspyhf-1.6.8.ebuild
index 0f2054a76..06016562c 100644
--- a/net-wireless/airspyhf/airspyhf-1.6.8.ebuild
+++ b/net-wireless/airspyhf/airspyhf-1.6.8.ebuild
@@ -14,14 +14,15 @@ SLOT="0"
KEYWORDS="~amd64"
IUSE="udevrules"
-DEPEND="dev-build/cmake
- dev-libs/libusb
- dev-util/pkgconf"
+
+DEPEND="dev-libs/libusb"
RDEPEND="${DEPEND}"
+BDEPEND="virtual/pkgconfig"
+
src_prepare(){
- sed -i 's@DESTINATION "/etc/udev/rules.d"@DESTINATION "/lib/udev/rules.d"@' "tools/CMakeLists.txt" || die
+ sed -i "s@DESTINATION \"/etc/udev/rules.d\"@DESTINATION \"$(get_udevdir)/rules.d\"@" "tools/CMakeLists.txt" || die
cmake_src_prepare
}