1 ################################################################################
5 ################################################################################
7 OPENTYRIAN_VERSION = 9c9f0ec3532b
8 OPENTYRIAN_SITE = https://bitbucket.org/opentyrian/opentyrian
9 OPENTYRIAN_SITE_METHOD = hg
10 OPENTYRIAN_LICENSE = GPLv2+
11 OPENTYRIAN_LICENSE_FILES = COPYING
13 OPENTYRIAN_DEPENDENCIES = sdl
15 ifeq ($(BR2_PACKAGE_OPENTYRIAN_NET),y)
16 OPENTYRIAN_DEPENDENCIES += sdl_net
17 OPENTYRIAN_NETWORK = true
19 OPENTYRIAN_NETWORK = false
22 define OPENTYRIAN_BUILD_CMDS
23 $(MAKE) PLATFORM=UNIX \
26 SDL_CONFIG="$(STAGING_DIR)/usr/bin/sdl-config" \
28 WITH_NETWORK="$(OPENTYRIAN_NETWORK)" \
32 define OPENTYRIAN_INSTALL_TARGET_CMDS
33 $(INSTALL) -D -m 0755 $(@D)/opentyrian $(TARGET_DIR)/usr/bin/opentyrian
36 $(eval $(generic-package))