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>
38 lines
1.0 KiB
Makefile
38 lines
1.0 KiB
Makefile
################################################################################
|
|
#
|
|
# lbreakout2
|
|
#
|
|
################################################################################
|
|
|
|
LBREAKOUT2_VERSION_MAJOR = 2.6
|
|
LBREAKOUT2_VERSION = $(LBREAKOUT2_VERSION_MAJOR).4
|
|
LBREAKOUT2_SITE = http://downloads.sourceforge.net/lgames/lbreakout2/$(LBREAKOUT2_VERSION_MAJOR)
|
|
LBREAKOUT2_LICENSE = GPL-2.0+
|
|
LBREAKOUT2_LICENSE_FILES = COPYING
|
|
|
|
LBREAKOUT2_DEPENDENCIES = sdl libpng
|
|
|
|
LBREAKOUT2_CONF_ENV = \
|
|
SDL_CONFIG="$(STAGING_DIR)/usr/bin/sdl-config"
|
|
|
|
ifeq ($(BR2_NEEDS_GETTEXT_IF_LOCALE),y)
|
|
LBREAKOUT2_DEPENDENCIES += gettext
|
|
LBREAKOUT2_CONF_ENV += LIBS=-lintl
|
|
endif
|
|
|
|
ifeq ($(BR2_PACKAGE_LBREAKOUT2_AUDIO),y)
|
|
LBREAKOUT2_DEPENDENCIES += sdl_mixer
|
|
LBREAKOUT2_CONF_OPTS += --enable-audio=yes
|
|
else
|
|
LBREAKOUT2_CONF_OPTS += --disable-audio
|
|
endif
|
|
|
|
ifeq ($(BR2_PACKAGE_LBREAKOUT2_NET),y)
|
|
LBREAKOUT2_DEPENDENCIES += sdl_net
|
|
LBREAKOUT2_CONF_OPTS += --enable-network=yes
|
|
else
|
|
LBREAKOUT2_CONF_OPTS += --disable-network
|
|
endif
|
|
|
|
$(eval $(autotools-package))
|