From: Chris Larson Date: Wed, 14 Jan 2004 23:01:59 +0000 (+0000) Subject: BUGFIX: Add a seperate stage target for freetype-native. Without it, the -native... X-Git-Tag: Release-2010-05/1~20372 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d8e3f889016ce87a05b88a6825fb078811b7f24e;p=openembedded.git BUGFIX: Add a seperate stage target for freetype-native. Without it, the -native freetype-config script can overwrite the non-native one, making builds explode horribly. BKrev: 4005ca67cZdVM9aXYubGFcYxmET-aw --- diff --git a/freetype/freetype-native_2.1.7.oe b/freetype/freetype-native_2.1.7.oe index e69de29bb2..48e03a4792 100644 --- a/freetype/freetype-native_2.1.7.oe +++ b/freetype/freetype-native_2.1.7.oe @@ -0,0 +1,17 @@ +include freetype_${PV}.oe +inherit native +DEPENDS = patcher +FILESDIR = ${@os.path.dirname(oe.data.getVar('FILE',d,1))}/freetype-${PV} +S = ${WORKDIR}/freetype-${PV} +PACKAGES = + +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} + install -d ${STAGING_INCDIR}/freetype2 + cp -a include/freetype ${STAGING_INCDIR}/freetype2/ +}