board/csky: fixup gdb instructions in readme.txt
[buildroot-gz.git] / package / lbreakout2 / lbreakout2.mk
blob5dc4c717533c05bc96dc45737103a259263b74a6
1 ################################################################################
3 # lbreakout2
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
21 endif
23 ifeq ($(BR2_PACKAGE_LBREAKOUT2_AUDIO),y)
24 LBREAKOUT2_DEPENDENCIES += sdl_mixer
25 LBREAKOUT2_CONF_OPTS += --enable-audio=yes
26 else
27 LBREAKOUT2_CONF_OPTS += --disable-audio
28 endif
30 ifeq ($(BR2_PACKAGE_LBREAKOUT2_NET),y)
31 LBREAKOUT2_DEPENDENCIES += sdl_net
32 LBREAKOUT2_CONF_OPTS += --enable-network=yes
33 else
34 LBREAKOUT2_CONF_OPTS += --disable-network
35 endif
37 $(eval $(autotools-package))