summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-07-08 19:26:00 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-07-08 19:26:00 +0100
commit8e7789d96a5389dc379e9dc57a2494b9944a7ec5 (patch)
tree368d64af3417ccf7b2dd8f830c9c2b83eda3d5a4
parentec7beb7bd285251f61370128699a702fe6d83051 (diff)
sys-kernel/rt3290sta-dkms : new package (mediatek/ralink rt3290 wifi driver sources for linux 4.x)
-rw-r--r--sys-kernel/rt3290sta-dkms/Manifest1
-rw-r--r--sys-kernel/rt3290sta-dkms/rt3290sta-dkms-2.6.0.0.ebuild39
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
+}
+