ifndef CONFIG_NO_NETWORK

TARGET_NAME = topbench
include_rules

: |> wget --quiet https://github.com/MobyGamer/TOPBENCH/releases/download/0.38.h/%o |> TOPBV38H.ZIP {zip}

: {zip} \
	|> unzip -L %f -d tmp ; tar cf %o -C tmp . ; rm -r tmp \
	|> $(DEPOT_RAW_DIR)/%d/@(DEPOT_VERSION)/TOPBV38H.tar {tar}

RAW_VERSION = 0.38.h
: {tar} |> !collect_raw |>
include &(RAW_RULES)

endif
