summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--net-wireless/gobi_loader/gobi_loader-0.7-r2.ebuild14
1 files changed, 8 insertions, 6 deletions
diff --git a/net-wireless/gobi_loader/gobi_loader-0.7-r2.ebuild b/net-wireless/gobi_loader/gobi_loader-0.7-r2.ebuild
index 3f26f58daac6..4d649f9e0ea5 100644
--- a/net-wireless/gobi_loader/gobi_loader-0.7-r2.ebuild
+++ b/net-wireless/gobi_loader/gobi_loader-0.7-r2.ebuild
@@ -1,12 +1,12 @@
-# Copyright 1999-2014 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-EAPI="2"
-inherit eutils multilib udev
+EAPI=6
+inherit multilib udev
DESCRIPTION="gobi_loader is a firmware loader for Qualcomm Gobi USB chipsets"
-HOMEPAGE="http://www.codon.org.uk/~mjg59/gobi_loader/"
-SRC_URI="http://www.codon.org.uk/~mjg59/${PN}/download/${P}.tar.gz"
+HOMEPAGE="https://www.codon.org.uk/~mjg59/gobi_loader/"
+SRC_URI="https://www.codon.org.uk/~mjg59/${PN}/download/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
@@ -16,8 +16,10 @@ IUSE=""
DEPEND="virtual/libusb:0"
RDEPEND="${DEPEND}"
+PATCHES=( "${FILESDIR}/${P}-makefile.patch" )
+
src_prepare() {
- epatch "${FILESDIR}"/${P}-makefile.patch
+ default
sed "s:%UDEVDIR%:$(get_udevdir):" -i Makefile || die
}