1 #############################################################
5 #############################################################
6 FREETYPE_VERSION
= $(strip $(subst ",, $(BR2_FREETYPE_VERSION)))
8 FREETYPE_SITE
= http
://$(BR2_SOURCEFORGE_MIRROR
).dl.sourceforge.net
/sourceforge
/freetype
9 FREETYPE_SOURCE
= freetype-
$(FREETYPE_VERSION
).
tar.bz2
10 FREETYPE_LIBTOOL_PATCH
= NO
11 FREETYPE_INSTALL_STAGING
= YES
12 FREETYPE_INSTALL_TARGET
= YES
13 FREETYPE_MAKE_OPT
= CCexe
="$(HOSTCC)"
14 FREETYPE_DEPENDENCIES
= uclibc host-pkgconfig
$(if
$(BR2_PACKAGE_ZLIB
),zlib
)
16 $(eval
$(call AUTOTARGETS
,package
,freetype
))
18 $(FREETYPE_TARGET_INSTALL_TARGET
):
19 -cp
-a
$(FREETYPE_DIR
)/objs
/.libs
/libfreetype.so
* $(TARGET_DIR
)/usr
/lib
/
20 $(STRIPCMD
) $(STRIP_STRIP_UNNEEDED
) $(TARGET_DIR
)/usr
/lib
/libfreetype.so
21 $(SED
) "s,^prefix=.*,prefix=\'$(STAGING_DIR)/usr\',g" \
22 -e
"s,^exec_prefix=.*,exec_prefix=\'$(STAGING_DIR)/usr\',g" \
23 -e
"s,^includedir=.*,includedir=\'$(STAGING_DIR)/usr/include/freetype2\',g" \
24 -e
"s,^libdir=.*,libdir=\'$(STAGING_DIR)/usr/lib\',g" \
25 $(STAGING_DIR
)/usr
/bin
/freetype-config