28 lines
810 B
Makefile
28 lines
810 B
Makefile
# SPDX-License-Identifier: GPL-2.0-or-later
|
|
# Copyright (C) 2019-present Shanti Gilbert (https://github.com/shantigilbert)
|
|
# Copyright (C) 2023-present - The JELOS Project (https://github.com/JustEnoughLinuxOS)
|
|
|
|
PKG_NAME="sixaxis"
|
|
PKG_VERSION="f53b0ca28c35ebd71b54190f33eadcb8c3267186"
|
|
PKG_ARCH="any"
|
|
PKG_LICENSE="GPL"
|
|
PKG_SITE="https://github.com/RetroPie/sixaxis"
|
|
PKG_URL="${PKG_SITE}/archive/${PKG_VERSION}.tar.gz"
|
|
PKG_DEPENDS_TARGET="toolchain"
|
|
PKG_SECTION="emuelec/tools"
|
|
PKG_LONGDESC="sixaxis helper service "
|
|
PKG_TOOLCHAIN="make"
|
|
PKG_IS_ADDON="no"
|
|
PKG_AUTORECONF="no"
|
|
|
|
|
|
makeinstall_target() {
|
|
mkdir -p ${INSTALL}/usr/bin
|
|
cp sixaxis-helper.sh ${INSTALL}/usr/bin/sixaxis-helper.sh
|
|
cp bins/sixaxis-timeout ${INSTALL}/usr/bin/sixaxis-timeout
|
|
}
|
|
|
|
post_install() {
|
|
enable_service sixaxis@.service
|
|
}
|
|
|