1 ################################################################################
5 ################################################################################
8 STELLA_SOURCE = stella-$(STELLA_VERSION)-src.tar.xz
9 STELLA_SITE = https://github.com/stella-emu/stella/releases/download/release-$(STELLA_VERSION)
10 STELLA_LICENSE = GPL-2.0+
11 STELLA_LICENSE_FILES = Copyright.txt License.txt
13 STELLA_DEPENDENCIES = sdl2 libpng zlib
16 --host=$(GNU_TARGET_NAME) \
18 --with-sdl-prefix=$(STAGING_DIR)/usr
20 # The configure script is not autoconf based, so we use the
21 # generic-package infrastructure
22 define STELLA_CONFIGURE_CMDS
24 $(TARGET_CONFIGURE_OPTS) \
25 $(TARGET_CONFIGURE_ARGS) \
26 ./configure $(STELLA_CONF_OPTS) \
30 define STELLA_BUILD_CMDS
31 $(TARGET_MAKE_ENV) $(MAKE) -C $(@D)
34 define STELLA_INSTALL_TARGET_CMDS
35 $(TARGET_MAKE_ENV) $(MAKE) DESTDIR="$(TARGET_DIR)" -C $(@D) install
38 $(eval $(generic-package))