diff options
Diffstat (limited to 'net-wireless/gobi_loader/gobi_loader-0.7-r1.ebuild')
-rw-r--r-- | net-wireless/gobi_loader/gobi_loader-0.7-r1.ebuild | 17 |
1 files changed, 8 insertions, 9 deletions
diff --git a/net-wireless/gobi_loader/gobi_loader-0.7-r1.ebuild b/net-wireless/gobi_loader/gobi_loader-0.7-r1.ebuild index c0aecb2949cf..e59bb2527e9d 100644 --- a/net-wireless/gobi_loader/gobi_loader-0.7-r1.ebuild +++ b/net-wireless/gobi_loader/gobi_loader-0.7-r1.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2010 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-wireless/gobi_loader/gobi_loader-0.7-r1.ebuild,v 1.1 2010/08/03 18:44:52 polynomial-c Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-wireless/gobi_loader/gobi_loader-0.7-r1.ebuild,v 1.2 2010/08/11 14:01:18 polynomial-c Exp $ EAPI="2" inherit eutils multilib @@ -17,18 +17,17 @@ IUSE="" DEPEND="virtual/libusb:0" RDEPEND="${DEPEND}" -src_install() { - # Makefile is bad - insinto /$(get_libdir)/udev - insopts -m0755 - doins gobi_loader +src_prepare() { + epatch "${FILESDIR}"/${P}-makefile.patch + sed "s:%LIBDIR%:$(get_libdir):" -i Makefile || die +} - insinto /etc/udev/rules.d - insopts -m0644 - doins 60-gobi.rules +src_install() { + emake install || die } pkg_postinst() { + udevadm control --reload-rules einfo einfo "Put your firmware in /lib/firmware/gobi." einfo |