2014-03-05 08:56:35 +01:00
|
|
|
################################################################################
|
2014-01-06 12:54:06 +01:00
|
|
|
#
|
|
|
|
# lbreakout2
|
|
|
|
#
|
2014-03-05 08:56:35 +01:00
|
|
|
################################################################################
|
2014-01-06 12:54:06 +01:00
|
|
|
|
2015-06-06 09:15:20 +02:00
|
|
|
LBREAKOUT2_VERSION_MAJOR = 2.6
|
|
|
|
LBREAKOUT2_VERSION = $(LBREAKOUT2_VERSION_MAJOR).4
|
|
|
|
LBREAKOUT2_SITE = http://downloads.sourceforge.net/lgames/lbreakout2/$(LBREAKOUT2_VERSION_MAJOR)
|
2017-03-30 15:43:32 +02:00
|
|
|
LBREAKOUT2_LICENSE = GPL-2.0+
|
2014-01-06 12:54:06 +01:00
|
|
|
LBREAKOUT2_LICENSE_FILES = COPYING
|
|
|
|
|
2017-07-03 22:51:10 +02:00
|
|
|
LBREAKOUT2_DEPENDENCIES = sdl libpng $(TARGET_NLS_DEPENDENCIES)
|
2014-01-06 12:54:06 +01:00
|
|
|
|
|
|
|
LBREAKOUT2_CONF_ENV = \
|
2017-07-03 22:51:10 +02:00
|
|
|
SDL_CONFIG="$(STAGING_DIR)/usr/bin/sdl-config" \
|
|
|
|
LIBS=$(TARGET_NLS_LIBS)
|
2014-01-06 12:54:06 +01:00
|
|
|
|
|
|
|
ifeq ($(BR2_PACKAGE_LBREAKOUT2_AUDIO),y)
|
|
|
|
LBREAKOUT2_DEPENDENCIES += sdl_mixer
|
2014-09-27 21:32:44 +02:00
|
|
|
LBREAKOUT2_CONF_OPTS += --enable-audio=yes
|
2014-01-06 12:54:06 +01:00
|
|
|
else
|
2014-09-27 21:32:44 +02:00
|
|
|
LBREAKOUT2_CONF_OPTS += --disable-audio
|
2014-01-06 12:54:06 +01:00
|
|
|
endif
|
|
|
|
|
|
|
|
ifeq ($(BR2_PACKAGE_LBREAKOUT2_NET),y)
|
|
|
|
LBREAKOUT2_DEPENDENCIES += sdl_net
|
2014-09-27 21:32:44 +02:00
|
|
|
LBREAKOUT2_CONF_OPTS += --enable-network=yes
|
2014-01-06 12:54:06 +01:00
|
|
|
else
|
2014-09-27 21:32:44 +02:00
|
|
|
LBREAKOUT2_CONF_OPTS += --disable-network
|
2014-01-06 12:54:06 +01:00
|
|
|
endif
|
|
|
|
|
|
|
|
$(eval $(autotools-package))
|