<commit_before>DESCRIPTION = "zd1211 wifi files for the Linux kernel"
HOMEPAGE = "http://zd1211.ath.cx/"
LICENSE = "GPLv2"
LIC_FILES_CHKSUM = "file://zd1211-firmware/COPYING;md5=eb723b61539feef013de476e68b5c50a"

SRC_URI = "${SOURCEFORGE_MIRROR}/zd1211/zd1211-firmware-${PV}.tar.bz2"

S = "${WORKDIR}"

do_compile() {
	:
}

do_install() {
	install -d  ${D}/lib/firmware/zd1211/
	install -m 0644 ${S}/zd1211-firmware/zd1211* ${D}/lib/firmware/zd1211/
}

FILES_${PN} += "/lib/firmware/*"
PACKAGE_ARCH = "all"


SRC_URI[md5sum] = "19f28781d76569af8551c9d11294c870"
SRC_URI[sha256sum] = "866308f6f59f7075f075d4959dff2ede47735c751251fecd1496df1ba4d338e1"<commit_msg>zd1211-firmware : cleanup<commit_after>DESCRIPTION = "zd1211 wifi files for the Linux kernel"
HOMEPAGE = "http://zd1211.ath.cx/"
LICENSE = "GPLv2"
LIC_FILES_CHKSUM = "file://COPYING;md5=eb723b61539feef013de476e68b5c50a"

inherit allarch

SRC_URI = "${SOURCEFORGE_MIRROR}/zd1211/${PN}-${PV}.tar.bz2"

S = "${WORKDIR}/${PN}/"
FIRMWARE_PATH = "${base_libdir}/firmware/zd1211/"

do_compile() {
	:
}

do_install() {
	install -d ${D}${FIRMWARE_PATH}/zd1211/
	install -m 0644 ${S}/zd1211b_ub ${D}${FIRMWARE_PATH}/zd1211b_ub
	install -m 0644 ${S}/zd1211b_uph ${D}${FIRMWARE_PATH}/zd1211b_uph
	install -m 0644 ${S}/zd1211b_uphm ${D}${FIRMWARE_PATH}/zd1211b_uphm
	install -m 0644 ${S}/zd1211b_uphr ${D}${FIRMWARE_PATH}/zd1211b_uphr
	install -m 0644 ${S}/zd1211b_ur ${D}${FIRMWARE_PATH}/zd1211b_ur
	install -m 0644 ${S}/zd1211_ub ${D}${FIRMWARE_PATH}/zd1211_ub
	install -m 0644 ${S}/zd1211_uph ${D}${FIRMWARE_PATH}/zd1211_uph
	install -m 0644 ${S}/zd1211_uphm ${D}${FIRMWARE_PATH}/zd1211_uphm
	install -m 0644 ${S}/zd1211_uphr ${D}${FIRMWARE_PATH}/zd1211_uphr
	install -m 0644 ${S}/zd1211_ur ${D}${FIRMWARE_PATH}/zd1211_ur
}

PACKAGES = "${PN}"
FILES_${PN} = " \
	${FIRMWARE_PATH}/zd1211b_ub \
	${FIRMWARE_PATH}/zd1211b_uph \
	${FIRMWARE_PATH}/zd1211b_uphm \
	${FIRMWARE_PATH}/zd1211b_uphr \
	${FIRMWARE_PATH}/zd1211b_ur \
	${FIRMWARE_PATH}/zd1211_ub \
	${FIRMWARE_PATH}/zd1211_uph \
	${FIRMWARE_PATH}/zd1211_uphm \
	${FIRMWARE_PATH}/zd1211_uphr \
	${FIRMWARE_PATH}/zd1211_ur \
"

INSANE_SKIP_${PN} = "arch"

SRC_URI[md5sum] = "19f28781d76569af8551c9d11294c870"
SRC_URI[sha256sum] = "866308f6f59f7075f075d4959dff2ede47735c751251fecd1496df1ba4d338e1"
{'fraction_non_alphanumeric': 0.1683340582862114, 'fraction_numerical': 0.17833840800347978, 'mean_word_length': 6.142857142857143, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3103028', 'n_tokens_mistral': 1340, 'n_tokens_neox': 1126, 'n_words': 132}