2022-02-05 14:23:32 +00:00
|
|
|
# SPDX-License-Identifier: GPL-2.0-or-later
|
|
|
|
# Copyright (C) 2021-present Shanti Gilbert (https://github.com/shantigilbert)
|
2023-10-23 22:46:49 +00:00
|
|
|
# Copyright (C) 2023-present - The JELOS Project (https://github.com/JustEnoughLinuxOS)
|
2022-02-05 14:23:32 +00:00
|
|
|
|
|
|
|
PKG_NAME="jstest-sdl"
|
2023-03-14 21:59:38 +00:00
|
|
|
PKG_VERSION="f4fdf6daae687d19b303d8ba8809ff5a68bc33a4"
|
2022-02-05 14:23:32 +00:00
|
|
|
PKG_LICENSE="MIT"
|
2022-04-04 20:32:55 +00:00
|
|
|
PKG_SITE="https://github.com/JustEnoughLinuxOS/jstest-sdl"
|
|
|
|
PKG_URL="${PKG_SITE}.git"
|
2022-02-05 14:23:32 +00:00
|
|
|
PKG_DEPENDS_TARGET="toolchain SDL2 ncurses"
|
|
|
|
PKG_SHORTDESC="Simple SDL joystick test application for the console"
|
|
|
|
PKG_TOOLCHAIN="make"
|
|
|
|
GET_HANDLER_SUPPORT="git"
|
|
|
|
|
|
|
|
pre_configure_target() {
|
2022-04-04 20:32:55 +00:00
|
|
|
sed -i "s|sdl2-config|${SYSROOT_PREFIX}/usr/bin/sdl2-config|g" Makefile
|
2022-02-05 14:23:32 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
makeinstall_target(){
|
2022-04-04 20:32:55 +00:00
|
|
|
mkdir -p ${INSTALL}/usr/bin
|
|
|
|
cp jstest-sdl ${INSTALL}/usr/bin
|
2022-02-05 14:23:32 +00:00
|
|
|
}
|