# SPDX-License-Identifier: GPL-2.0-or-later # Copyright (C) 2022-present BrooksyTech (https://github.com/brooksytech) PKG_NAME="ecwolf_libretro" PKG_VERSION="1c82ef94f25a358774d4b9daa44537ab406a1203" PKG_LICENSE="GPLv2" PKG_SITE="https://github.com/libretro/ecwolf" PKG_URL="${PKG_SITE}.git" PKG_DEPENDS_TARGET="toolchain" PKG_SHORTDESC="ECWolf is a port of the Wolfenstein 3D engine based of Wolf4SDL." PKG_TOOLCHAIN="make" PKG_MAKE_OPTS_TARGET="-C src/libretro" pre_make_target() { cd ${PKG_BUILD} } makeinstall_target() { mkdir -p ${INSTALL}/usr/lib/libretro cp src/libretro/ecwolf_libretro.so ${INSTALL}/usr/lib/libretro/ }