ifndef CONFIG_OFFLINE

TARGET_NAME = cave_story-en

PKG_DEPENDS += \
	_/raw/cave_story-en \

include_rules

: |> wget --quiet https://www.cavestory.org/downloads/%o |> cavestoryen.zip {zip}

: {zip} |> unzip -qD %f -d tmp ; tar cf %o -C tmp/CaveStory . ; rm -r tmp |> doukutsu.tar {tar}

RAW_VERSION = 2004.12
: {tar} |> !collect_raw |>

include &(RAW_RULES)

endif
