# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.

include ${ADK_TOPDIR}/rules.mk

PKG_NAME:=		b43-firmware
PKG_VERSION:=		1.0
PKG_RELEASE:=		1
PKG_MD5SUM:=		37c8d2c029a7e5b82f4433a6fa1e2ee5
PKG_DESCR:=		firmware for b43 wireless cards
PKG_SECTION:=		sys/firmware
PKG_SITES:=		http://openadk.org/distfiles/

DISTFILES:=		${PKG_NAME}-${PKG_VERSION}.tar.gz

include ${ADK_TOPDIR}/mk/package.mk

$(eval $(call PKG_template,B43_FIRMWARE,b43-firmware,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))

CONFIG_STYLE:=          manual
BUILD_STYLE:=           manual
INSTALL_STYLE:=         manual

do-install:
	${INSTALL_DIR} ${IDIR_B43_FIRMWARE}/lib/firmware
	${CP} ${WRKBUILD}/* ${IDIR_B43_FIRMWARE}/lib/firmware/

include ${ADK_TOPDIR}/mk/pkg-bottom.mk
