c7f4b96471
Since the trailing slash is stripped from $($(PKG)_SITE) by pkg-generic.mk: $(call DOWNLOAD,$($(PKG)_SITE:/=)/$($(PKG)_SOURCE)) so it is redundant. This patch removes it from $(PKG)_SITE variable for BR consistency. Signed-off-by: Jerzy Grzegorek <jerzy.grzegorek@trzebnica.net> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
30 lines
684 B
Makefile
30 lines
684 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))
|