diff options
Diffstat (limited to 'sys-kernel/rt3290sta-dkms')
-rw-r--r-- | sys-kernel/rt3290sta-dkms/Manifest | 1 | ||||
-rw-r--r-- | sys-kernel/rt3290sta-dkms/rt3290sta-dkms-2.6.0.0.ebuild | 39 |
2 files changed, 40 insertions, 0 deletions
diff --git a/sys-kernel/rt3290sta-dkms/Manifest b/sys-kernel/rt3290sta-dkms/Manifest new file mode 100644 index 00000000..ffd5c15e --- /dev/null +++ b/sys-kernel/rt3290sta-dkms/Manifest @@ -0,0 +1 @@ +DIST rt3290sta-dkms-2.6.0.0.tar.xz 648228 SHA256 d9bfdb0f32c704bb2d9af486c9d7fb3167bc843bd08c81b640b961d0c4add1b9 SHA512 9c94a0d48d8238541c3d0083f4fd2678e33209f1d03b58e283c227b11ddddaabef53bb19ffafd6c5e856db3aac11d798047f52c3fd473193a83495cc7c527c0a WHIRLPOOL 96e94936aa44967210be0c278d4a0042307f2d87a937b934ee91ffd82da903dafe352e0273051a27d4fb55e4d6fb19b7b924033b7085f9771b21124b911f9ec6 diff --git a/sys-kernel/rt3290sta-dkms/rt3290sta-dkms-2.6.0.0.ebuild b/sys-kernel/rt3290sta-dkms/rt3290sta-dkms-2.6.0.0.ebuild new file mode 100644 index 00000000..04452694 --- /dev/null +++ b/sys-kernel/rt3290sta-dkms/rt3290sta-dkms-2.6.0.0.ebuild @@ -0,0 +1,39 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +inherit eutils + +DESCRIPTION="Mediatek/Ralink rt3290 wifi driver sources for Linux 4.x" +HOMEPAGE="https://www.mediatek.com/products/connectivity-and-networking/broadband-wifi" +SRC_URI="http://mirror.math.princeton.edu/pub/redcorelinux/distfiles/${CATEGORY}/${P}.tar.xz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 x86" +IUSE="" + +DEPEND="sys-kernel/dkms" +RDEPEND="${DEPEND}" + +S=${WORKDIR}/${P} + +src_compile() { + : +} + +src_install() { + dodir /usr/src/${P} + insinto /usr/src/${P} + doins -r "${S}"/* +} + +pkg_postinst() { + dkms add ${PN}/${PV} +} + +pkg_prerm() { + dkms remove ${PN}/${PV} --all +} + |