TARGET_NAME = libretro-240pSuite-SNES
RAW_VERSION = 1.03
include_rules

# Mirrored here, fuck sourceforge
: 240pSuite-SNES-$(RAW_VERSION).zip |> unzip %f \
		240pSuite.sfc README.TXT \
		-d $(RAW_DIR) \
	|> $(RAW_DIR)/240pSuite.sfc $(RAW_DIR)/README.TXT {unzipped}

PKG_DEPENDS += \
	_/src/vfs \
	@(PUBLIC_SRC_LIBC) \
	@(PUBLIC_SRC_STDCXX) \
	_/src/snes9x \
	_/src/retro_frontend \
	_/raw/$(TARGET_NAME) \

: ./pkg.dhall |> !render_runtime |> {runtime}

include &(RAW_RULES)

: ./pkg.dhall |> !index_pkg |>
