aboutsummaryrefslogtreecommitdiff
path: root/package/sdl_ttf/sdl_ttf.mk
blob: 3e494b4ca28db66d59f45afe96e5a88333a6461c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
################################################################################
#
# sdl_ttf
#
################################################################################

SDL_TTF_VERSION = 2.0.11
SDL_TTF_SOURCE = SDL_ttf-$(SDL_TTF_VERSION).tar.gz
SDL_TTF_SITE = http://www.libsdl.org/projects/SDL_ttf/release
SDL_TTF_LICENSE = zlib
SDL_TTF_LICENSE_FILES = COPYING

SDL_TTF_INSTALL_STAGING = YES
SDL_TTF_DEPENDENCIES = sdl freetype
SDL_TTF_CONF_OPTS = \
	--without-x \
	--with-freetype-prefix=$(STAGING_DIR)/usr \
	--with-sdl-prefix=$(STAGING_DIR)/usr

SDL_TTF_MAKE_OPTS = INCLUDES="-I$(STAGING_DIR)/usr/include/SDL"  LDFLAGS="-L$(STAGING_DIR)/usr/lib"
$(eval $(autotools-package))