DESCRIPTION = "Freetype font rendering library" SECTION = "libs" LICENSE = "freetype" PR = "r2" DEPENDS = "zlib" SRC_URI = "\ ${SOURCEFORGE_MIRROR}/freetype/freetype-${PV}.tar.bz2 \ file://no-hardcode.patch \ file://fix-configure.patch \ file://libtool-tag.patch \ " S = "${WORKDIR}/freetype-${PV}" SRC_URI[md5sum] = "e974a82e5939be8e05ee65f07275d7c5" SRC_URI[sha256sum] = "3b96438f016a62b676c1d2089c00ca777f710d19f6aefa66ccf068d360db3e92" inherit autotools pkgconfig binconfig LIBTOOL = "${HOST_SYS}-libtool" EXTRA_OEMAKE = "'LIBTOOL=${LIBTOOL}'" do_configure() { cd builds/unix libtoolize --force --copy gnu-configize --force aclocal -I . autoconf cd ${S} oe_runconf } do_compile_prepend() { ${BUILD_CC} -o objs/apinames src/tools/apinames.c } BBCLASSEXTEND = "native" FILES_${PN} = "${libdir}/lib*.so.*" FILES_${PN}-dev += "${bindir}"