distribution/packages/tools/rtk_hciattach/package.mk

21 lines
681 B
Makefile
Raw Normal View History

2022-02-05 14:23:32 +00:00
# SPDX-License-Identifier: GPL-2.0-or-later
# Copyright (C) 2018-present Team CoreELEC (https://coreelec.org)
PKG_NAME="rtk_hciattach"
PKG_VERSION="a03e128aa4b52fc5d904634c9838623a74ade393"
2022-02-05 14:23:32 +00:00
PKG_LICENSE="GPL"
PKG_SITE="https://github.com/Caesar-github/rkwifibt"
2023-02-24 13:53:43 +00:00
PKG_URL="https://github.com/Caesar-github/rkwifibt/archive/${PKG_VERSION}.tar.gz"
2022-02-05 14:23:32 +00:00
PKG_DEPENDS_TARGET="toolchain"
PKG_LONGDESC="Realtek BT FW loader"
PKG_TOOLCHAIN="make"
unpack() {
2023-02-24 13:53:43 +00:00
mkdir -p ${PKG_BUILD}
tar --strip-components=3 -xf $SOURCES/${PKG_NAME}/${PKG_NAME}-${PKG_VERSION}.tar.gz -C ${PKG_BUILD} rkwifibt-${PKG_VERSION}/realtek/rtk_hciattach
2022-02-05 14:23:32 +00:00
}
post_install() {
enable_service hciattach-realtek.service
}