BUGFIX: Add a seperate stage target for freetype-native. Without it, the -native...
authorChris Larson <clarson@kergoth.com>
Wed, 14 Jan 2004 23:01:59 +0000 (23:01 +0000)
committerChris Larson <clarson@kergoth.com>
Wed, 14 Jan 2004 23:01:59 +0000 (23:01 +0000)
BKrev: 4005ca67cZdVM9aXYubGFcYxmET-aw

freetype/freetype-native_2.1.7.oe

index e69de29..48e03a4 100644 (file)
@@ -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/
+}