From bcbe825eddc9375f384241dc6b01a98d2254d77e Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sun, 23 Jul 2017 14:42:18 +0100 Subject: install all dkms modules under /lib/modules/4.9.39-redcore/extra/dkms --- .../broadcom-sta-dkms-6.30.223.271-r1706.ebuild | 56 ++++++++++++++++++++++ .../broadcom-sta-dkms-6.30.223.271.ebuild | 56 ---------------------- sys-kernel/broadcom-sta-dkms/files/dkms.conf | 2 +- 3 files changed, 57 insertions(+), 57 deletions(-) create mode 100644 sys-kernel/broadcom-sta-dkms/broadcom-sta-dkms-6.30.223.271-r1706.ebuild delete mode 100644 sys-kernel/broadcom-sta-dkms/broadcom-sta-dkms-6.30.223.271.ebuild (limited to 'sys-kernel/broadcom-sta-dkms') diff --git a/sys-kernel/broadcom-sta-dkms/broadcom-sta-dkms-6.30.223.271-r1706.ebuild b/sys-kernel/broadcom-sta-dkms/broadcom-sta-dkms-6.30.223.271-r1706.ebuild new file mode 100644 index 00000000..566d93ed --- /dev/null +++ b/sys-kernel/broadcom-sta-dkms/broadcom-sta-dkms-6.30.223.271-r1706.ebuild @@ -0,0 +1,56 @@ +# 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="${DEPEND}" + +S="${WORKDIR}" + +src_prepare() { + cp "${FILESDIR}"/dkms.conf "${S}" || die + + 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 +} + +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 +} 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 deleted file mode 100644 index 566d93ed..00000000 --- a/sys-kernel/broadcom-sta-dkms/broadcom-sta-dkms-6.30.223.271.ebuild +++ /dev/null @@ -1,56 +0,0 @@ -# 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="${DEPEND}" - -S="${WORKDIR}" - -src_prepare() { - cp "${FILESDIR}"/dkms.conf "${S}" || die - - 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 -} - -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 -} diff --git a/sys-kernel/broadcom-sta-dkms/files/dkms.conf b/sys-kernel/broadcom-sta-dkms/files/dkms.conf index f10e1c5a..362d2a28 100644 --- a/sys-kernel/broadcom-sta-dkms/files/dkms.conf +++ b/sys-kernel/broadcom-sta-dkms/files/dkms.conf @@ -3,6 +3,6 @@ PACKAGE_VERSION="6.30.223.271" MAKE[0]="make KVER=$kernelver" MAKE[0]="make KV_FULL=$kernelver" BUILT_MODULE_NAME[0]="wl" -DEST_MODULE_LOCATION[0]="/kernel/net/wireless" +DEST_MODULE_LOCATION[0]="/extra/dkms" AUTOINSTALL="YES" -- cgit v1.2.3