open-plc-utils: new package
[buildroot-gz.git] / package / lbreakout2 / lbreakout2.mk
blobd72b9496cd2febf6277a8bb6f097336eb320b622
1 ################################################################################
3 # lbreakout2
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
20 endif
22 ifeq ($(BR2_PACKAGE_LBREAKOUT2_AUDIO),y)
23 LBREAKOUT2_DEPENDENCIES += sdl_mixer
24 LBREAKOUT2_CONF_OPTS += --enable-audio=yes
25 else
26 LBREAKOUT2_CONF_OPTS += --disable-audio
27 endif
29 ifeq ($(BR2_PACKAGE_LBREAKOUT2_NET),y)
30 LBREAKOUT2_DEPENDENCIES += sdl_net
31 LBREAKOUT2_CONF_OPTS += --enable-network=yes
32 else
33 LBREAKOUT2_CONF_OPTS += --disable-network
34 endif
36 $(eval $(autotools-package))