2023-10-23 22:44:47 +00:00
|
|
|
# SPDX-License-Identifier: GPL-2.0
|
2023-10-24 16:00:57 +00:00
|
|
|
# Copyright (C) 2023 JELOS (https://github.com/JustEnoughLinuxOS)
|
2022-02-05 14:23:32 +00:00
|
|
|
|
|
|
|
PKG_NAME="gamecontrollerdb"
|
2023-10-17 10:54:13 +00:00
|
|
|
PKG_VERSION="6f3c4edcb5a2e2ed090ca8af40d2c0f00dcd77f6"
|
2022-02-05 14:23:32 +00:00
|
|
|
PKG_ARCH="any"
|
|
|
|
PKG_LICENSE="GPL"
|
|
|
|
PKG_DEPENDS_TARGET="toolchain SDL2"
|
2023-01-14 15:50:51 +00:00
|
|
|
PKG_SITE="https://github.com/gabomdq/SDL_GameControllerDB"
|
2022-05-27 22:33:28 +00:00
|
|
|
PKG_URL="${PKG_SITE}.git"
|
2022-02-05 14:23:32 +00:00
|
|
|
PKG_SECTION="tools"
|
|
|
|
PKG_SHORTDESC="SDL Game Controller DB"
|
|
|
|
PKG_TOOLCHAIN="manual"
|
|
|
|
|
|
|
|
make_target() {
|
2022-05-27 22:33:28 +00:00
|
|
|
:
|
2022-02-05 14:23:32 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
makeinstall_target() {
|
|
|
|
mkdir -p ${INSTALL}/usr/config/SDL-GameControllerDB
|
2023-05-02 14:28:09 +00:00
|
|
|
if [ -f "${PKG_DIR}/config/gamecontrollerdb.txt" ]
|
2022-02-12 14:27:22 +00:00
|
|
|
then
|
2023-05-02 14:28:09 +00:00
|
|
|
cat ${PKG_DIR}/config/gamecontrollerdb.txt >${INSTALL}/usr/config/SDL-GameControllerDB/gamecontrollerdb.txt
|
2022-02-05 14:23:32 +00:00
|
|
|
fi
|
2022-05-27 22:33:28 +00:00
|
|
|
cat ${PKG_BUILD}/gamecontrollerdb.txt >>${INSTALL}/usr/config/SDL-GameControllerDB/gamecontrollerdb.txt
|
2022-02-05 14:23:32 +00:00
|
|
|
}
|