@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME := freetype
PKG_NAME := freetype
PKG_VERSION := 2.8.1
PKG_VERSION := 2.8.1
PKG_RELEASE := 1
PKG_RELEASE := 2
PKG_SOURCE := $( PKG_NAME) -$( PKG_VERSION) .tar.bz2
PKG_SOURCE := $( PKG_NAME) -$( PKG_VERSION) .tar.bz2
PKG_SOURCE_URL := @SF/freetype
PKG_SOURCE_URL := @SF/freetype
@ -56,6 +56,8 @@ endef
d e f i n e B u i l d / I n s t a l l D e v
d e f i n e B u i l d / I n s t a l l D e v
$( INSTALL_DIR) $( 1) /bin
$( INSTALL_DIR) $( 1) /bin
$( INSTALL_BIN) $( PKG_INSTALL_DIR) /usr/bin/freetype-config $( 1) /bin/
$( INSTALL_BIN) $( PKG_INSTALL_DIR) /usr/bin/freetype-config $( 1) /bin/
$( INSTALL_DIR) $( 2) /bin
$( INSTALL_BIN) $( PKG_INSTALL_DIR) /usr/bin/freetype-config $( 2) /bin/
$( INSTALL_DIR) $( 1) /usr/include
$( INSTALL_DIR) $( 1) /usr/include
$( CP) $( PKG_INSTALL_DIR) /usr/include/freetype2 $( 1) /usr/include/
$( CP) $( PKG_INSTALL_DIR) /usr/include/freetype2 $( 1) /usr/include/
$( INSTALL_DIR) $( 1) /usr/lib
$( INSTALL_DIR) $( 1) /usr/lib
@ -63,11 +65,6 @@ define Build/InstallDev
$( INSTALL_DIR) $( 1) /usr/lib/pkgconfig
$( INSTALL_DIR) $( 1) /usr/lib/pkgconfig
$( CP) $( PKG_INSTALL_DIR) /usr/lib/pkgconfig/freetype2.pc $( 1) /usr/lib/pkgconfig/
$( CP) $( PKG_INSTALL_DIR) /usr/lib/pkgconfig/freetype2.pc $( 1) /usr/lib/pkgconfig/
$( SED) \
' s,^\( prefix\| exec_prefix\) = .*,\1 = " $( STAGING_DIR) /usr " ,; \
s,^\( includedir\) = .*,\1 = " $( STAGING_DIR) /usr/include " ,; \
s,^\( libdir\) = .*,\1 = " $( STAGING_DIR) /usr/lib " ,' \
$( 1) /bin/freetype-config
$( SED) \
$( SED) \
' s,/usr/include,$$ $$ { prefix} /include,g; \
' s,/usr/include,$$ $$ { prefix} /include,g; \
s,/usr/lib,$$ $$ { exec_prefix} /lib,g' \
s,/usr/lib,$$ $$ { exec_prefix} /lib,g' \
@ -80,4 +77,5 @@ define Package/libfreetype/install
$( CP) $( PKG_INSTALL_DIR) /usr/lib/libfreetype.so.* $( 1) /usr/lib/
$( CP) $( PKG_INSTALL_DIR) /usr/lib/libfreetype.so.* $( 1) /usr/lib/
e n d e f
e n d e f
$( eval $ ( call HostBuild ) )
$( eval $ ( call BuildPackage ,libfreetype ) )
$( eval $ ( call BuildPackage ,libfreetype ) )