Move buildroot to bsp directory.
This commit is contained in:
31
bsp/buildroot/package/lbreakout2/Config.in
Normal file
31
bsp/buildroot/package/lbreakout2/Config.in
Normal file
@@ -0,0 +1,31 @@
|
||||
config BR2_PACKAGE_LBREAKOUT2
|
||||
bool "LBreakout2"
|
||||
select BR2_PACKAGE_SDL
|
||||
select BR2_PACKAGE_LIBPNG
|
||||
select BR2_PACKAGE_GETTEXT if BR2_NEEDS_GETTEXT_IF_LOCALE
|
||||
help
|
||||
LBreakout2 is the successor to LBreakout, a breakout-style arcade
|
||||
game in the manner of Arkanoid. Requires SDL, libpng, and
|
||||
optionnally SDL_mixer/SDL_net.
|
||||
A display with minimum 640x480 resolution, a keyboard and a mouse
|
||||
are recommanded.
|
||||
|
||||
http://lgames.sourceforge.net/index.php?project=LBreakout2
|
||||
|
||||
if BR2_PACKAGE_LBREAKOUT2
|
||||
|
||||
config BR2_PACKAGE_LBREAKOUT2_AUDIO
|
||||
bool "audio support"
|
||||
default y
|
||||
select BR2_PACKAGE_SDL_MIXER
|
||||
help
|
||||
Activates audio support in LBreakout2. Will add SDL_mixer.
|
||||
|
||||
config BR2_PACKAGE_LBREAKOUT2_NET
|
||||
bool "network support"
|
||||
default y
|
||||
select BR2_PACKAGE_SDL_NET
|
||||
help
|
||||
Activates network support LBreakout2. Will add SDL_net.
|
||||
|
||||
endif
|
||||
2
bsp/buildroot/package/lbreakout2/lbreakout2.hash
Normal file
2
bsp/buildroot/package/lbreakout2/lbreakout2.hash
Normal file
@@ -0,0 +1,2 @@
|
||||
# Locally computed:
|
||||
sha256 0b90716d52e67c27ff41ab7aa5c09dad4f5f19a78076cc57dd4b4d7ed2c1dbd9 lbreakout2-2.6.4.tar.gz
|
||||
37
bsp/buildroot/package/lbreakout2/lbreakout2.mk
Normal file
37
bsp/buildroot/package/lbreakout2/lbreakout2.mk
Normal file
@@ -0,0 +1,37 @@
|
||||
################################################################################
|
||||
#
|
||||
# lbreakout2
|
||||
#
|
||||
################################################################################
|
||||
|
||||
LBREAKOUT2_VERSION_MAJOR = 2.6
|
||||
LBREAKOUT2_VERSION = $(LBREAKOUT2_VERSION_MAJOR).4
|
||||
LBREAKOUT2_SITE = http://downloads.sourceforge.net/lgames/lbreakout2/$(LBREAKOUT2_VERSION_MAJOR)
|
||||
LBREAKOUT2_LICENSE = GPLv2+
|
||||
LBREAKOUT2_LICENSE_FILES = COPYING
|
||||
|
||||
LBREAKOUT2_DEPENDENCIES = sdl libpng
|
||||
|
||||
LBREAKOUT2_CONF_ENV = \
|
||||
SDL_CONFIG="$(STAGING_DIR)/usr/bin/sdl-config"
|
||||
|
||||
ifeq ($(BR2_NEEDS_GETTEXT_IF_LOCALE),y)
|
||||
LBREAKOUT2_DEPENDENCIES += gettext
|
||||
LBREAKOUT2_CONF_ENV += LIBS=-lintl
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_LBREAKOUT2_AUDIO),y)
|
||||
LBREAKOUT2_DEPENDENCIES += sdl_mixer
|
||||
LBREAKOUT2_CONF_OPTS += --enable-audio=yes
|
||||
else
|
||||
LBREAKOUT2_CONF_OPTS += --disable-audio
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_LBREAKOUT2_NET),y)
|
||||
LBREAKOUT2_DEPENDENCIES += sdl_net
|
||||
LBREAKOUT2_CONF_OPTS += --enable-network=yes
|
||||
else
|
||||
LBREAKOUT2_CONF_OPTS += --disable-network
|
||||
endif
|
||||
|
||||
$(eval $(autotools-package))
|
||||
Reference in New Issue
Block a user