2022-02-05 14:23:32 +00:00
|
|
|
# SPDX-License-Identifier: GPL-2.0-or-later
|
|
|
|
# Copyright (C) 2019-present Shanti Gilbert (https://github.com/shantigilbert)
|
|
|
|
|
|
|
|
PKG_NAME="xow"
|
2023-08-24 09:53:35 +00:00
|
|
|
PKG_VERSION="d335d60"
|
2022-02-05 14:23:32 +00:00
|
|
|
PKG_LICENSE="GPLv2"
|
|
|
|
PKG_SITE="https://github.com/medusalix/xow"
|
2023-02-24 13:53:43 +00:00
|
|
|
PKG_URL="${PKG_SITE}/archive/${PKG_VERSION}.tar.gz"
|
2022-02-05 14:23:32 +00:00
|
|
|
PKG_DEPENDS_TARGET="toolchain"
|
|
|
|
PKG_LONGDESC="Linux driver for the Xbox One wireless dongle "
|
|
|
|
PKG_TOOLCHAIN="make"
|
|
|
|
|
|
|
|
PKG_MAKE_OPTS_TARGET=" BUILD=RELEASE"
|
|
|
|
|
|
|
|
pre_configure_target() {
|
|
|
|
sed -i "s|ld -r|\$(LD) -r|" Makefile
|
|
|
|
|
|
|
|
}
|
|
|
|
makeinstall_target() {
|
2023-02-24 13:53:43 +00:00
|
|
|
mkdir -p ${INSTALL}/usr/bin
|
|
|
|
cp xow ${INSTALL}/usr/bin
|
2022-02-05 14:23:32 +00:00
|
|
|
}
|