![Thomas De Schampheleire](/assets/img/avatar_default.png)
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>
30 lines
694 B
Makefile
30 lines
694 B
Makefile
################################################################################
|
|
#
|
|
# ltris
|
|
#
|
|
################################################################################
|
|
|
|
LTRIS_SITE = http://downloads.sourceforge.net/lgames/ltris
|
|
LTRIS_VERSION = 1.0.19
|
|
LTRIS_LICENSE = GPLv2+
|
|
LTRIS_LICENSE_FILES = COPYING
|
|
|
|
LTRIS_DEPENDENCIES = sdl
|
|
|
|
LTRIS_CONF_ENV = \
|
|
SDL_CONFIG="$(STAGING_DIR)/usr/bin/sdl-config"
|
|
|
|
ifeq ($(BR2_PACKAGE_LTRIS_AUDIO),y)
|
|
LTRIS_DEPENDENCIES += sdl_mixer
|
|
LTRIS_CONF_OPTS += --enable-audio=yes
|
|
else
|
|
LTRIS_CONF_OPTS += --disable-audio
|
|
endif
|
|
|
|
ifeq ($(BR2_NEEDS_GETTEXT_IF_LOCALE),y)
|
|
LTRIS_DEPENDENCIES += gettext
|
|
LTRIS_CONF_ENV += LIBS=-lintl
|
|
endif
|
|
|
|
$(eval $(autotools-package))
|