1################################################################################ 2# 3# stella 4# 5################################################################################ 6 7STELLA_VERSION = 6.4 8STELLA_SOURCE = stella-$(STELLA_VERSION)-src.tar.xz 9STELLA_SITE = https://github.com/stella-emu/stella/releases/download/$(STELLA_VERSION) 10STELLA_LICENSE = GPL-2.0+ 11STELLA_LICENSE_FILES = Copyright.txt License.txt 12 13STELLA_DEPENDENCIES = sdl2 libpng zlib 14 15STELLA_CONF_OPTS = \ 16 --host=$(GNU_TARGET_NAME) \ 17 --prefix=/usr \ 18 --with-sdl-prefix=$(STAGING_DIR)/usr 19 20# The configure script is not autoconf based, so we use the 21# generic-package infrastructure 22define STELLA_CONFIGURE_CMDS 23 (cd $(@D); \ 24 $(TARGET_CONFIGURE_OPTS) \ 25 $(TARGET_CONFIGURE_ARGS) \ 26 ./configure $(STELLA_CONF_OPTS) \ 27 ) 28endef 29 30define STELLA_BUILD_CMDS 31 $(TARGET_MAKE_ENV) $(MAKE) -C $(@D) 32endef 33 34define STELLA_INSTALL_TARGET_CMDS 35 $(TARGET_MAKE_ENV) $(MAKE) DESTDIR="$(TARGET_DIR)" -C $(@D) install 36endef 37 38$(eval $(generic-package)) 39