2014-03-05 08:56:35 +01:00
|
|
|
################################################################################
|
2014-01-08 14:07:36 +01:00
|
|
|
#
|
|
|
|
# ltris
|
|
|
|
#
|
2014-03-05 08:56:35 +01:00
|
|
|
################################################################################
|
2014-01-08 14:07:36 +01:00
|
|
|
|
2014-07-31 10:46:58 +02:00
|
|
|
LTRIS_SITE = http://downloads.sourceforge.net/lgames/ltris
|
2014-01-08 14:07:36 +01:00
|
|
|
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_OPT += --enable-audio=yes
|
|
|
|
else
|
|
|
|
LTRIS_CONF_OPT += --disable-audio
|
|
|
|
endif
|
|
|
|
|
2014-08-19 19:43:56 +02:00
|
|
|
ifeq ($(BR2_NEEDS_GETTEXT_IF_LOCALE),y)
|
2014-01-12 10:06:39 +01:00
|
|
|
LTRIS_DEPENDENCIES += gettext
|
|
|
|
LTRIS_CONF_ENV += LIBS=-lintl
|
|
|
|
endif
|
|
|
|
|
2014-01-08 14:07:36 +01:00
|
|
|
$(eval $(autotools-package))
|