kumquat-buildroot/package/lbreakout2/lbreakout2.mk
Thomas De Schampheleire aaffd209fa packages: rename FOO_CONF_OPT into FOO_CONF_OPTS
To be consistent with the recent change of FOO_MAKE_OPT into FOO_MAKE_OPTS,
make the same change for FOO_CONF_OPT.

Sed command used:
   find * -type f | xargs sed -i 's#_CONF_OPT\>#&S#g'

Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com>
Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2014-10-04 18:54:16 +02:00

37 lines
947 B
Makefile

################################################################################
#
# lbreakout2
#
################################################################################
LBREAKOUT2_SITE = http://downloads.sourceforge.net/lgames/lbreakout2/2.6
LBREAKOUT2_VERSION = 2.6.4
LBREAKOUT2_LICENSE = GPLv2+
LBREAKOUT2_LICENSE_FILES = COPYING
LBREAKOUT2_DEPENDENCIES = sdl libpng
LBREAKOUT2_CONF_ENV = \
SDL_CONFIG="$(STAGING_DIR)/usr/bin/sdl-config"
ifeq ($(BR2_NEEDS_GETTEXT_IF_LOCALE),y)
LBREAKOUT2_DEPENDENCIES += gettext
LBREAKOUT2_CONF_ENV += LIBS=-lintl
endif
ifeq ($(BR2_PACKAGE_LBREAKOUT2_AUDIO),y)
LBREAKOUT2_DEPENDENCIES += sdl_mixer
LBREAKOUT2_CONF_OPTS += --enable-audio=yes
else
LBREAKOUT2_CONF_OPTS += --disable-audio
endif
ifeq ($(BR2_PACKAGE_LBREAKOUT2_NET),y)
LBREAKOUT2_DEPENDENCIES += sdl_net
LBREAKOUT2_CONF_OPTS += --enable-network=yes
else
LBREAKOUT2_CONF_OPTS += --disable-network
endif
$(eval $(autotools-package))