gentoo-overlay/sys-firmware/bt-bcm20702/bt-bcm20702-9999.ebuild
MadMaurice 727331900d Add sys-firmware/bt-bcm20702
Firmware for the bluetooth module of my X230T
2019-11-20 16:39:39 +01:00

29 lines
520 B
Bash

# Copyright 2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
DESCRIPTION="Firmware for BCM20702"
HOMEPAGE=""
SRC_URI="https://github.com/winterheart/broadcom-bt-firmware/raw/master/brcm/BCM20702A1-0a5c-21e6.hcd"
LICENSE="MIT"
SLOT="0"
KEYWORDS="amd64"
RDEPEND=""
DEPEND="${RDEPEND}"
# Only one file no sub directory
S="${WORKDIR}"
src_unpack()
{
cp "${DISTDIR}/${A}" "${WORKDIR}" || die
}
src_install()
{
insinto /lib/firmware/brcm
doins BCM20702A1-0a5c-21e6.hcd
}