Move all to deprecated folder.
This commit is contained in:
24
deprecated/firmware/buildroot/package/opentyrian/Config.in
Normal file
24
deprecated/firmware/buildroot/package/opentyrian/Config.in
Normal file
@@ -0,0 +1,24 @@
|
||||
config BR2_PACKAGE_OPENTYRIAN
|
||||
bool "OpenTyrian"
|
||||
select BR2_PACKAGE_SDL
|
||||
select BR2_PACKAGE_OPENTYRIAN_DATA
|
||||
help
|
||||
OpenTyrian is a port of the DOS shoot-em-up Tyrian. It uses SDL,
|
||||
making it easily cross-platform.
|
||||
It requires the original data files to run.
|
||||
A display with minimum 640x480 resolution and a keyboard are needed
|
||||
to play the game.
|
||||
If you want some sound, activate ALSA with OSS emulation.
|
||||
|
||||
https://bitbucket.org/opentyrian/opentyrian/wiki/Home
|
||||
|
||||
if BR2_PACKAGE_OPENTYRIAN
|
||||
|
||||
config BR2_PACKAGE_OPENTYRIAN_NET
|
||||
bool "network support"
|
||||
default y
|
||||
select BR2_PACKAGE_SDL_NET
|
||||
help
|
||||
Activates network support in OpenTyrian. Will add SDL_net.
|
||||
|
||||
endif
|
||||
@@ -0,0 +1,36 @@
|
||||
################################################################################
|
||||
#
|
||||
# opentyrian
|
||||
#
|
||||
################################################################################
|
||||
|
||||
OPENTYRIAN_VERSION = 9c9f0ec3532b
|
||||
OPENTYRIAN_SITE = https://bitbucket.org/opentyrian/opentyrian
|
||||
OPENTYRIAN_SITE_METHOD = hg
|
||||
OPENTYRIAN_LICENSE = GPLv2+
|
||||
OPENTYRIAN_LICENSE_FILES = COPYING
|
||||
|
||||
OPENTYRIAN_DEPENDENCIES = sdl
|
||||
|
||||
ifeq ($(BR2_PACKAGE_OPENTYRIAN_NET),y)
|
||||
OPENTYRIAN_DEPENDENCIES += sdl_net
|
||||
OPENTYRIAN_NETWORK = true
|
||||
else
|
||||
OPENTYRIAN_NETWORK = false
|
||||
endif
|
||||
|
||||
define OPENTYRIAN_BUILD_CMDS
|
||||
$(MAKE) PLATFORM=UNIX \
|
||||
CC="$(TARGET_CC)" \
|
||||
STRIP="/bin/true" \
|
||||
SDL_CONFIG="$(STAGING_DIR)/usr/bin/sdl-config" \
|
||||
LDFLAGS="-lm" \
|
||||
WITH_NETWORK="$(OPENTYRIAN_NETWORK)" \
|
||||
-C $(@D) release
|
||||
endef
|
||||
|
||||
define OPENTYRIAN_INSTALL_TARGET_CMDS
|
||||
$(INSTALL) -D -m 0755 $(@D)/opentyrian $(TARGET_DIR)/usr/bin/opentyrian
|
||||
endef
|
||||
|
||||
$(eval $(generic-package))
|
||||
Reference in New Issue
Block a user