1 ################################################################################
5 ################################################################################
7 LBREAKOUT2_VERSION_MAJOR
= 2.6
8 LBREAKOUT2_VERSION
= $(LBREAKOUT2_VERSION_MAJOR
).4
9 LBREAKOUT2_SITE
= http
://downloads.sourceforge.net
/lgames
/lbreakout2
/$(LBREAKOUT2_VERSION_MAJOR
)
10 LBREAKOUT2_LICENSE
= GPLv2
+
11 LBREAKOUT2_LICENSE_FILES
= COPYING
13 LBREAKOUT2_DEPENDENCIES
= sdl libpng
15 LBREAKOUT2_CONF_ENV
= \
16 SDL_CONFIG
="$(STAGING_DIR)/usr/bin/sdl-config"
18 ifeq ($(BR2_NEEDS_GETTEXT_IF_LOCALE
),y
)
19 LBREAKOUT2_DEPENDENCIES
+= gettext
20 LBREAKOUT2_CONF_ENV
+= LIBS
=-lintl
23 ifeq ($(BR2_PACKAGE_LBREAKOUT2_AUDIO
),y
)
24 LBREAKOUT2_DEPENDENCIES
+= sdl_mixer
25 LBREAKOUT2_CONF_OPTS
+= --enable-audio
=yes
27 LBREAKOUT2_CONF_OPTS
+= --disable-audio
30 ifeq ($(BR2_PACKAGE_LBREAKOUT2_NET
),y
)
31 LBREAKOUT2_DEPENDENCIES
+= sdl_net
32 LBREAKOUT2_CONF_OPTS
+= --enable-network
=yes
34 LBREAKOUT2_CONF_OPTS
+= --disable-network
37 $(eval
$(autotools-package
))