diff options
Diffstat (limited to 'sys-kernel/rtl8821cu-dkms/rtl8821cu-dkms-5.8.1.ebuild')
-rw-r--r-- | sys-kernel/rtl8821cu-dkms/rtl8821cu-dkms-5.8.1.ebuild | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/sys-kernel/rtl8821cu-dkms/rtl8821cu-dkms-5.8.1.ebuild b/sys-kernel/rtl8821cu-dkms/rtl8821cu-dkms-5.8.1.ebuild new file mode 100644 index 00000000..52a102b2 --- /dev/null +++ b/sys-kernel/rtl8821cu-dkms/rtl8821cu-dkms-5.8.1.ebuild @@ -0,0 +1,44 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 +inherit eutils git-r3 + +DESCRIPTION="Realtek RTL8811CU/RTL8821CU USB Wi-Fi adapter driver for Linux" +HOMEPAGE="https://github.com/brektrou/rtl8821CU" + +EGIT_REPO_URI="https://github.com/brektrou/rtl8821CU.git" +EGIT_BRANCH="5.8.1" + +LICENSE="GPL-2" +KEYWORDS="amd64" +SLOT="0" +RESTRICT="mirror" + +DEPEND="sys-kernel/dkms" +RDEPEND="${DEPEND}" + +S="${WORKDIR}/${P}" + +src_prepare() { + cp "${FILESDIR}"/dkms.conf "${S}" || die +} + +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 +} |