2013-06-06 01:53:30 +02:00
|
|
|
################################################################################
|
2005-04-26 08:26:14 +02:00
|
|
|
#
|
|
|
|
# freetype
|
|
|
|
#
|
2013-06-06 01:53:30 +02:00
|
|
|
################################################################################
|
2011-10-21 14:19:59 +02:00
|
|
|
|
2013-06-12 16:14:29 +02:00
|
|
|
FREETYPE_VERSION = 2.4.12
|
2008-10-09 14:50:56 +02:00
|
|
|
FREETYPE_SOURCE = freetype-$(FREETYPE_VERSION).tar.bz2
|
2012-08-23 00:11:55 +02:00
|
|
|
FREETYPE_SITE = http://downloads.sourceforge.net/project/freetype/freetype2/$(FREETYPE_VERSION)
|
2008-10-09 14:50:56 +02:00
|
|
|
FREETYPE_INSTALL_STAGING = YES
|
|
|
|
FREETYPE_MAKE_OPT = CCexe="$(HOSTCC)"
|
2012-12-27 06:39:10 +01:00
|
|
|
FREETYPE_LICENSE = Dual FTL/GPLv2+
|
2012-12-28 01:34:17 +01:00
|
|
|
FREETYPE_LICENSE_FILES = docs/FTL.TXT docs/GPLv2.TXT
|
2012-10-22 17:47:52 +02:00
|
|
|
FREETYPE_DEPENDENCIES = host-pkgconf \
|
2012-02-10 11:41:52 +01:00
|
|
|
$(if $(BR2_PACKAGE_ZLIB),zlib) \
|
|
|
|
$(if $(BR2_PACKAGE_BZIP2),bzip2)
|
2013-02-07 13:35:06 +01:00
|
|
|
FREETYPE_CONFIG_SCRIPTS = freetype-config
|
2008-10-09 14:50:56 +02:00
|
|
|
|
2012-10-22 17:47:52 +02:00
|
|
|
HOST_FREETYPE_DEPENDENCIES = host-pkgconf
|
2009-11-03 00:10:08 +01:00
|
|
|
|
2013-06-13 15:00:23 +02:00
|
|
|
# Extra fixing since includedir and libdir are expanded from configure values
|
|
|
|
define FREETYPE_FIX_CONFIG_FILE
|
|
|
|
$(SED) 's:^includedir=.*:includedir="$${prefix}/include":' \
|
|
|
|
-e 's:^libdir=.*:libdir="$${exec_prefix}/lib":' \
|
|
|
|
$(STAGING_DIR)/usr/bin/freetype-config
|
|
|
|
endef
|
|
|
|
FREETYPE_POST_INSTALL_STAGING_HOOKS += FREETYPE_FIX_CONFIG_FILE
|
|
|
|
|
2012-07-03 00:07:32 +02:00
|
|
|
$(eval $(autotools-package))
|
2012-07-03 00:06:54 +02:00
|
|
|
$(eval $(host-autotools-package))
|