1################################################################################ 2# 3# sdl_gfx 4# 5################################################################################ 6 7SDL_GFX_VERSION_MAJOR = 2.0 8SDL_GFX_VERSION = $(SDL_GFX_VERSION_MAJOR).23 9SDL_GFX_SOURCE = SDL_gfx-$(SDL_GFX_VERSION).tar.gz 10SDL_GFX_SITE = http://www.ferzkopp.net/Software/SDL_gfx-$(SDL_GFX_VERSION_MAJOR) 11SDL_GFX_LICENSE = Zlib 12SDL_GFX_LICENSE_FILES = COPYING LICENSE 13SDL_GFX_INSTALL_STAGING = YES 14SDL_GFX_DEPENDENCIES = sdl 15SDL_GFX_CONF_OPTS = \ 16 --with-sdl-prefix=$(STAGING_DIR)/usr \ 17 --disable-sdltest \ 18 --enable-static 19 20# Even though x86_64 processors support MMX, the MMX-specific assembly 21# code in sdl_gfx is IA32 specific, and does not build for x86_64. 22ifeq ($(BR2_i386)$(BR2_X86_CPU_HAS_MMX),yy) 23SDL_GFX_CONF_OPTS += --enable-mmx 24else 25SDL_GFX_CONF_OPTS += --disable-mmx 26endif 27 28$(eval $(autotools-package)) 29