kumquat-buildroot/package/ltris/ltris.mk
Jerzy Grzegorek 561cc1ebdc package: normalize separator size to 80
Signed-off-by: Jerzy Grzegorek <jerzy.grzegorek@trzebnica.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2014-03-05 19:42:14 +01:00

30 lines
685 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_OPT += --enable-audio=yes
else
LTRIS_CONF_OPT += --disable-audio
endif
ifeq ($(BR2_PACKAGE_GETTEXT),y)
LTRIS_DEPENDENCIES += gettext
LTRIS_CONF_ENV += LIBS=-lintl
endif
$(eval $(autotools-package))