af31c309e7
We want to use SPDX identifier for license strings as much as possible. SPDX short identifier for GPLv2/GPLv2+ is GPL-2.0/GPL-2.0+. This change is done by using following command. find . -name "*.mk" | xargs sed -ri '/LICENSE( )?[\+:]?=/s/\<GPLv2\>/GPL-2.0/g' Signed-off-by: Rahul Bedarkar <rahulbedarkar89@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
39 lines
973 B
Makefile
39 lines
973 B
Makefile
################################################################################
|
|
#
|
|
# stella
|
|
#
|
|
################################################################################
|
|
|
|
STELLA_VERSION = 4.7.2
|
|
STELLA_SOURCE = stella-$(STELLA_VERSION)-src.tar.xz
|
|
STELLA_SITE = http://downloads.sourceforge.net/stella
|
|
STELLA_LICENSE = GPL-2.0+
|
|
STELLA_LICENSE_FILES = Copyright.txt License.txt
|
|
|
|
STELLA_DEPENDENCIES = sdl2 libpng zlib
|
|
|
|
STELLA_CONF_OPTS = \
|
|
--host=$(GNU_TARGET_NAME) \
|
|
--prefix=/usr \
|
|
--with-sdl-prefix=$(STAGING_DIR)/usr
|
|
|
|
# The configure script is not autoconf based, so we use the
|
|
# generic-package infrastructure
|
|
define STELLA_CONFIGURE_CMDS
|
|
(cd $(@D); \
|
|
$(TARGET_CONFIGURE_OPTS) \
|
|
$(TARGET_CONFIGURE_ARGS) \
|
|
./configure $(STELLA_CONF_OPTS) \
|
|
)
|
|
endef
|
|
|
|
define STELLA_BUILD_CMDS
|
|
$(TARGET_MAKE_ENV) $(MAKE) -C $(@D)
|
|
endef
|
|
|
|
define STELLA_INSTALL_TARGET_CMDS
|
|
$(TARGET_MAKE_ENV) $(MAKE) DESTDIR="$(TARGET_DIR)" -C $(@D) install
|
|
endef
|
|
|
|
$(eval $(generic-package))
|