diff options
-rw-r--r-- | freetype/freetype-2.1.7/configure.patch | 0 | ||||
-rw-r--r-- | freetype/freetype_2.1.7.oe | 34 |
2 files changed, 34 insertions, 0 deletions
diff --git a/freetype/freetype-2.1.7/configure.patch b/freetype/freetype-2.1.7/configure.patch new file mode 100644 index 0000000000..e69de29bb2 --- /dev/null +++ b/freetype/freetype-2.1.7/configure.patch diff --git a/freetype/freetype_2.1.7.oe b/freetype/freetype_2.1.7.oe index e69de29bb2..59050f3733 100644 --- a/freetype/freetype_2.1.7.oe +++ b/freetype/freetype_2.1.7.oe @@ -0,0 +1,34 @@ +DESCRIPTION = Freetype font rendering library +DEPENDS = virtual/libc +RDEPENDS = libc6 + +FT_SONAME = 6.3.5 + +SRC_URI = ftp://ftp.freetype.org/freetype/freetype2/freetype-${PV}.tar.bz2 \ + file://${FILESDIR}/configure.patch;patch=1 + +inherit autotools libtool pkgconfig + +EXTRA_OEMAKE="'LIBTOOL=${STAGING_BINDIR}/${HOST_SYS}-libtool'" + +do_configure () { + cd builds/unix + aclocal -I . + autoconf + cd ${S} + oe_runconf +} + +do_stage () { + install -m 755 -D objs/.libs/libfreetype.so.${FT_SONAME} ${STAGING_LIBDIR}/libfreetype.so.${FT_SONAME} + ln -sf ./libfreetype.so.${FT_SONAME} ${STAGING_LIBDIR}/libfreetype.so.6 + ln -sf ./libfreetype.so.${FT_SONAME} ${STAGING_LIBDIR}/libfreetype.so + + install -m 0644 objs/.libs/libfreetype.lai ${STAGING_LIBDIR}/libfreetype.la + cp -a include/*.h ${STAGING_INCDIR} + cp -a include/freetype ${STAGING_INCDIR} + + sed -e 's,/usr,${STAGING_DIR}/target,' < builds/unix/freetype-config > ${STAGING_BINDIR}/freetype-config + chmod u+x ${STAGING_BINDIR}/freetype-config +} + |