diff options
author | V3n3RiX <venerix@rogentos.ro> | 2016-10-24 17:19:11 +0100 |
---|---|---|
committer | V3n3RiX <venerix@rogentos.ro> | 2016-10-24 17:19:11 +0100 |
commit | 1310b28ae0f6675df4d853b623f9ccac0d56b85e (patch) | |
tree | f7f70c7b88a9834d96b52519b1d764d1bf8c6346 /sys-kernel/broadcom-sta-dkms/broadcom-sta-dkms-6.30.223.271.ebuild | |
parent | 8ee2b1a89e8d9dce920ad128ea546be61d998825 (diff) |
no revision in here
Diffstat (limited to 'sys-kernel/broadcom-sta-dkms/broadcom-sta-dkms-6.30.223.271.ebuild')
-rw-r--r-- | sys-kernel/broadcom-sta-dkms/broadcom-sta-dkms-6.30.223.271.ebuild | 57 |
1 files changed, 57 insertions, 0 deletions
diff --git a/sys-kernel/broadcom-sta-dkms/broadcom-sta-dkms-6.30.223.271.ebuild b/sys-kernel/broadcom-sta-dkms/broadcom-sta-dkms-6.30.223.271.ebuild new file mode 100644 index 00000000..1094f381 --- /dev/null +++ b/sys-kernel/broadcom-sta-dkms/broadcom-sta-dkms-6.30.223.271.ebuild @@ -0,0 +1,57 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 +inherit eutils + +DESCRIPTION="Broadcom's IEEE 802.11a/b/g/n hybrid Linux device driver source" +HOMEPAGE="http://www.broadcom.com/support/802.11/" +SRC_BASE="http://www.broadcom.com/docs/linux_sta/hybrid-v35" +SRC_URI="x86? ( ${SRC_BASE}-nodebug-pcoem-${PV//\./_}.tar.gz ) + amd64? ( ${SRC_BASE}_64-nodebug-pcoem-${PV//\./_}.tar.gz ) + http://www.broadcom.com/docs/linux_sta/README_${PV}.txt -> README-${P}.txt" + +LICENSE="Broadcom" +KEYWORDS="amd64 x86" +SLOT="0" +RESTRICT="mirror" + +DEPEND="sys-kernel/dkms" +RDEPEND="" + +S="${WORKDIR}" + +src_prepare() { + epatch \ + "${FILESDIR}/broadcom-sta-6.30.223.141-makefile.patch" \ + "${FILESDIR}/broadcom-sta-6.30.223.141-eth-to-wlan.patch" \ + "${FILESDIR}/broadcom-sta-6.30.223.141-gcc.patch" \ + "${FILESDIR}/broadcom-sta-6.30.223.248-r3-Wno-date-time.patch" \ + "${FILESDIR}/broadcom-sta-6.30.223.271-r1-linux-3.18.patch" \ + "${FILESDIR}/broadcom-sta-6.30.223.271-r2-linux-4.3-v2.patch" \ + "${FILESDIR}/broadcom-sta-6.30.223.271-r3-linux-4.7.patch" + + epatch_user + + cd "${S}" || die + 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_postrm() { + dkms remove ${PN}/${PV} --all +} |