1 ################################################################################
5 ################################################################################
7 LBREAKOUT2_SITE = http://downloads.sourceforge.net/lgames/lbreakout2/2.6
8 LBREAKOUT2_VERSION = 2.6.4
9 LBREAKOUT2_LICENSE = GPLv2+
10 LBREAKOUT2_LICENSE_FILES = COPYING
12 LBREAKOUT2_DEPENDENCIES = sdl libpng
14 LBREAKOUT2_CONF_ENV = \
15 SDL_CONFIG="$(STAGING_DIR)/usr/bin/sdl-config"
17 ifeq ($(BR2_NEEDS_GETTEXT_IF_LOCALE),y)
18 LBREAKOUT2_DEPENDENCIES += gettext
19 LBREAKOUT2_CONF_ENV += LIBS=-lintl
22 ifeq ($(BR2_PACKAGE_LBREAKOUT2_AUDIO),y)
23 LBREAKOUT2_DEPENDENCIES += sdl_mixer
24 LBREAKOUT2_CONF_OPTS += --enable-audio=yes
26 LBREAKOUT2_CONF_OPTS += --disable-audio
29 ifeq ($(BR2_PACKAGE_LBREAKOUT2_NET),y)
30 LBREAKOUT2_DEPENDENCIES += sdl_net
31 LBREAKOUT2_CONF_OPTS += --enable-network=yes
33 LBREAKOUT2_CONF_OPTS += --disable-network
36 $(eval $(autotools-package))