distribution/packages/emulators/tools/gamecontrollerdb/package.mk
fewtarius 984ad9d91d
* Update emulators, cores, and support packages.
* Correct a bug in our X-Box 360 Retroarch gamepad configuration file.
* Add mame to Game and Watch + enable on all devices (another docs update to follow).
* Enable EMMC on Powkiddy x55 to allow JELOS to be installed to it.
2024-01-17 22:10:37 +00:00

26 lines
807 B
Makefile

# SPDX-License-Identifier: GPL-2.0
# Copyright (C) 2023 JELOS (https://github.com/JustEnoughLinuxOS)
PKG_NAME="gamecontrollerdb"
PKG_VERSION="a972cc74c72767bea450c41ee00577c8de6d210a"
PKG_ARCH="any"
PKG_LICENSE="GPL"
PKG_DEPENDS_TARGET="toolchain SDL2"
PKG_SITE="https://github.com/gabomdq/SDL_GameControllerDB"
PKG_URL="${PKG_SITE}.git"
PKG_SECTION="tools"
PKG_SHORTDESC="SDL Game Controller DB"
PKG_TOOLCHAIN="manual"
make_target() {
:
}
makeinstall_target() {
mkdir -p ${INSTALL}/usr/config/SDL-GameControllerDB
if [ -f "${PKG_DIR}/config/gamecontrollerdb.txt" ]
then
cat ${PKG_DIR}/config/gamecontrollerdb.txt >${INSTALL}/usr/config/SDL-GameControllerDB/gamecontrollerdb.txt
fi
cat ${PKG_BUILD}/gamecontrollerdb.txt >>${INSTALL}/usr/config/SDL-GameControllerDB/gamecontrollerdb.txt
}