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>
37 lines
935 B
Makefile
37 lines
935 B
Makefile
################################################################################
|
|
#
|
|
# lbreakout2
|
|
#
|
|
################################################################################
|
|
|
|
LBREAKOUT2_SITE = http://downloads.sourceforge.net/lgames/lbreakout2/2.6
|
|
LBREAKOUT2_VERSION = 2.6.4
|
|
LBREAKOUT2_LICENSE = GPLv2+
|
|
LBREAKOUT2_LICENSE_FILES = COPYING
|
|
|
|
LBREAKOUT2_DEPENDENCIES = sdl libpng
|
|
|
|
LBREAKOUT2_CONF_ENV = \
|
|
SDL_CONFIG="$(STAGING_DIR)/usr/bin/sdl-config"
|
|
|
|
ifeq ($(BR2_PACKAGE_GETTEXT),y)
|
|
LBREAKOUT2_DEPENDENCIES += gettext
|
|
LBREAKOUT2_CONF_ENV += LIBS=-lintl
|
|
endif
|
|
|
|
ifeq ($(BR2_PACKAGE_LBREAKOUT2_AUDIO),y)
|
|
LBREAKOUT2_DEPENDENCIES += sdl_mixer
|
|
LBREAKOUT2_CONF_OPT += --enable-audio=yes
|
|
else
|
|
LBREAKOUT2_CONF_OPT += --disable-audio
|
|
endif
|
|
|
|
ifeq ($(BR2_PACKAGE_LBREAKOUT2_NET),y)
|
|
LBREAKOUT2_DEPENDENCIES += sdl_net
|
|
LBREAKOUT2_CONF_OPT += --enable-network=yes
|
|
else
|
|
LBREAKOUT2_CONF_OPT += --disable-network
|
|
endif
|
|
|
|
$(eval $(autotools-package))
|