net-wireless/airspy: add missing slashes
authorThomas Deutschmann <whissi@gentoo.org>
Sun, 10 Nov 2019 14:01:49 +0000 (15:01 +0100)
committerThomas Deutschmann <whissi@gentoo.org>
Sun, 10 Nov 2019 14:01:49 +0000 (15:01 +0100)
Package-Manager: Portage-2.3.79, Repoman-2.3.18
Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>
net-wireless/airspy/airspy-1.0.9.ebuild
net-wireless/airspy/airspy-9999.ebuild

index 8a12043c051757c1fde0242ac9241d061ddaf5a0..0dab450c333a14ac15e9fc9faa02064663e3ef08 100644 (file)
@@ -37,8 +37,8 @@ src_install() {
        cmake-utils_src_install
 
        if use udev; then
-               udev_newrules "${D}etc/udev/rules.d/52-airspy.rules" 52-airspy.rules
-               rm -rf "${D}etc"
+               udev_newrules "${ED}/etc/udev/rules.d/52-airspy.rules" 52-airspy.rules
+               rm -rf "${ED}/etc"
        fi
 }
 
index 5c680532bf97b7c85d02ce80edc52748e02cb56f..0dab450c333a14ac15e9fc9faa02064663e3ef08 100644 (file)
@@ -23,7 +23,7 @@ SLOT="0"
 IUSE="+udev"
 
 DEPEND="virtual/udev
-               virtual/libusb:0"
+               virtual/libusb:1"
 RDEPEND="${DEPEND}"
 
 src_configure() {
@@ -37,8 +37,8 @@ src_install() {
        cmake-utils_src_install
 
        if use udev; then
-               udev_newrules "${D}etc/udev/rules.d/52-airspy.rules" 52-airspy.rules
-               rm -rf "${D}etc"
+               udev_newrules "${ED}/etc/udev/rules.d/52-airspy.rules" 52-airspy.rules
+               rm -rf "${ED}/etc"
        fi
 }