aboutsummaryrefslogtreecommitdiff
path: root/package/ltris/ltris.mk
blob: 75b6ad0ffcbfb93810a205d070f0a3dafdf962da (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
################################################################################
#
# 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))