kumquat-buildroot/package/sdl2_ttf/sdl2_ttf.mk
Peter Thompson a0abce838b sdl2_ttf: new package
Signed-off-by: Peter Thompson <peter.macleod.thompson@gmail.com>
[Thomas:
 - point <pkg>_LICENSE_FILES to a file that actually exists
 - add host-pkgconf to the dependencies
 - remove unneeded CONF_OPTS options
 - pass FREETYPE_CONFIG in the environment to point to freetype-config]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2016-07-15 16:34:20 +02:00

18 lines
572 B
Makefile

################################################################################
#
# sdl2_ttf
#
################################################################################
SDL2_TTF_VERSION = 2.0.14
SDL2_TTF_SOURCE = SDL2_ttf-$(SDL2_TTF_VERSION).tar.gz
SDL2_TTF_SITE = http://www.libsdl.org/projects/SDL_ttf/release
SDL2_TTF_LICENSE = zlib
SDL2_TTF_LICENSE_FILES = COPYING.txt
SDL2_TTF_INSTALL_STAGING = YES
SDL2_TTF_DEPENDENCIES = sdl2 freetype host-pkgconf
SDL2_TTF_CONF_ENV = \
FREETYPE_CONFIG=$(STAGING_DIR)/usr/bin/freetype-config
$(eval $(autotools-package))