python-dataproperty: bump version to 0.17.0
[buildroot-gz.git] / package / opentyrian / opentyrian.mk
blob6efbe4eeb8c8d16488b0f146af8487b78bfa49bf
1 ################################################################################
3 # opentyrian
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
18 else
19 OPENTYRIAN_NETWORK = false
20 endif
22 define OPENTYRIAN_BUILD_CMDS
23 $(TARGET_MAKE_ENV) $(MAKE) PLATFORM=UNIX \
24 CC="$(TARGET_CC)" \
25 STRIP="/bin/true" \
26 SDL_CONFIG="$(STAGING_DIR)/usr/bin/sdl-config" \
27 LDFLAGS="-lm" \
28 WITH_NETWORK="$(OPENTYRIAN_NETWORK)" \
29 -C $(@D) release
30 endef
32 define OPENTYRIAN_INSTALL_TARGET_CMDS
33 $(INSTALL) -D -m 0755 $(@D)/opentyrian $(TARGET_DIR)/usr/bin/opentyrian
34 endef
36 $(eval $(generic-package))