diff options
Diffstat (limited to 'freetype/freetype_2.1.8.oe')
-rw-r--r-- | freetype/freetype_2.1.8.oe | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/freetype/freetype_2.1.8.oe b/freetype/freetype_2.1.8.oe index e69de29bb2..246e9c5e7a 100644 --- a/freetype/freetype_2.1.8.oe +++ b/freetype/freetype_2.1.8.oe @@ -0,0 +1,34 @@ +DESCRIPTION = "Freetype font rendering library" +DEPENDS = "virtual/libc" + +SRC_URI = "ftp://ftp.freetype.org/freetype/freetype2/freetype-${PV}.tar.bz2 \ + file://configure.patch;patch=1" + +FILES_${PN} = "${libdir}/lib*.so.*" +FILES_${PN}-dev += " ${bindir}" + +inherit autotools pkgconfig + +LIBTOOL = "${S}/builds/unix/${HOST_SYS}-libtool" +EXTRA_OEMAKE = "'LIBTOOL=${LIBTOOL}'" + +do_configure () { + cd builds/unix + gnu-configize + aclocal -I . + autoconf + cd ${S} + oe_runconf +} + +do_stage () { + oe_libinstall -so -a -C objs libfreetype ${STAGING_LIBDIR} + + cp -a ${S}/include/*.h ${STAGING_INCDIR} + install -d ${STAGING_INCDIR}/freetype2 + cp -a ${S}/include/freetype ${STAGING_INCDIR}/freetype2/ + + sed -e 's,${prefix},${STAGING_LIBDIR}/..,' < builds/unix/freetype-config > ${STAGING_BINDIR}/freetype-config + chmod u+x ${STAGING_BINDIR}/freetype-config +} + |