e7137b32e4
* Deprecate device specific controller variables. * Set avahi hostname on boot. * Add dmidecode for x86_64 specific quirks.
26 lines
792 B
Makefile
26 lines
792 B
Makefile
# SPDX-License-Identifier: Apache-2.0
|
|
# Copyright (C) 2021-present Fewtarius (https://github.com/fewtarius)
|
|
|
|
PKG_NAME="gamecontrollerdb"
|
|
PKG_VERSION="219df0c"
|
|
PKG_ARCH="any"
|
|
PKG_LICENSE="GPL"
|
|
PKG_DEPENDS_TARGET="toolchain SDL2"
|
|
PKG_SITE="https://github.com/JustEnoughLinuxOS/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 [ -d "${PKG_DIR}/sources/${DEVICE}" ]
|
|
then
|
|
cat ${PKG_DIR}/sources/${DEVICE}/gamecontrollerdb.txt >${INSTALL}/usr/config/SDL-GameControllerDB/gamecontrollerdb.txt
|
|
fi
|
|
cat ${PKG_BUILD}/gamecontrollerdb.txt >>${INSTALL}/usr/config/SDL-GameControllerDB/gamecontrollerdb.txt
|
|
}
|