summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Larson <clarson@kergoth.com>2004-01-14 23:01:59 +0000
committerChris Larson <clarson@kergoth.com>2004-01-14 23:01:59 +0000
commitd8e3f889016ce87a05b88a6825fb078811b7f24e (patch)
tree6981228366e6bc7db0e7ec018f15860d7fc8ff69
parentdce06d0fea6dba79018dae01b8713443ef457ff7 (diff)
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
-rw-r--r--freetype/freetype-native_2.1.7.oe17
1 files changed, 17 insertions, 0 deletions
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/
+}