summaryrefslogtreecommitdiff
path: root/fontconfig
diff options
context:
space:
mode:
authorChris Larson <clarson@kergoth.com>2004-03-22 22:37:29 +0000
committerChris Larson <clarson@kergoth.com>2004-03-22 22:37:29 +0000
commitf249735ad71fd5f13bfd295c55e1e0d596a1dbff (patch)
tree93735f3e25beab7ac8bf066c504df17b244db4eb /fontconfig
parent11ebfcef190cf217f67fa2b79adee0f58f9718f3 (diff)
Another pass of .oe cleanups.
BKrev: 405f6aa92YDm0pQN4padj00WWayDrQ
Diffstat (limited to 'fontconfig')
-rw-r--r--fontconfig/fontconfig_2.2.92.oe40
1 files changed, 20 insertions, 20 deletions
diff --git a/fontconfig/fontconfig_2.2.92.oe b/fontconfig/fontconfig_2.2.92.oe
index 68331bb3a4..4c7771dc7c 100644
--- a/fontconfig/fontconfig_2.2.92.oe
+++ b/fontconfig/fontconfig_2.2.92.oe
@@ -2,40 +2,40 @@ DESCRIPTION = "A library for configuring and customizing font access."
DEPENDS = "virtual/libc expat freetype freetype-native zlib"
RDEPENDS = "libc6 expat freetype zlib"
-FC_SONAME = 1.0.4
+FC_SONAME = "1.0.4"
-SRC_URI = http://pdx.freedesktop.org/~fontconfig/release/fontconfig-2.2.92.tar.gz \
- file://${FILESDIR}/freetype-includes.patch;patch=1;pnum=0 \
- file://${FILESDIR}/makefile1.patch;patch=1;pnum=0 \
- file://${FILESDIR}/makefile2.patch;patch=1;pnum=0
+SRC_URI = "http://pdx.freedesktop.org/~fontconfig/release/fontconfig-${PV}.tar.gz \
+ file://${FILESDIR}/freetype-includes.patch;patch=1;pnum=0 \
+ file://${FILESDIR}/makefile1.patch;patch=1;pnum=0 \
+ file://${FILESDIR}/makefile2.patch;patch=1;pnum=0"
-S = "${WORKDIR}/fontconfig-2.2.92"
+S = "${WORKDIR}/fontconfig-${PV}"
inherit autotools libtool pkgconfig
-EXTRA_OECONF=" --disable-docs "
+EXTRA_OECONF = " --disable-docs "
do_compile () {
-# XXX 2.2.92 dist missing some files !
+# XXX ${PV} dist missing some files !
touch fc-list/fc-list.1
touch fc-cache/fc-cache.1
- oe_runmake -C fc-lang 'CC=${BUILD_CC}' \
- 'CFLAGS=${BUILD_CFLAGS}' 'LDFLAGS=${BUILD_LDFLAGS}' \
- 'CPPFLAGS=${BUILD_CPPFLAGS}' 'CXXFLAGS=${BUILD_CXXFLAGS}' \
- 'FREETYPE_CFLAGS=-I${STAGING_INCDIR}/freetype2' 'FREETYPE_LIBS=-lfreetype -lz'
- oe_runmake -C fc-glyphname 'CC=${BUILD_CC}' \
- 'CFLAGS=${BUILD_CFLAGS}' 'LDFLAGS=${BUILD_LDFLAGS}' \
- 'CPPFLAGS=${BUILD_CPPFLAGS}' 'CXXFLAGS=${BUILD_CXXFLAGS}'
- 'FREETYPE_CFLAGS=-I${STAGING_INCDIR}/freetype2' 'FREETYPE_LIBS=-lfreetype -lz'
+ oe_runmake -C fc-lang "CC=${BUILD_CC}" \
+ "CFLAGS=${BUILD_CFLAGS}" "LDFLAGS=${BUILD_LDFLAGS}" \
+ "CPPFLAGS=${BUILD_CPPFLAGS}" "CXXFLAGS=${BUILD_CXXFLAGS}" \
+ "FREETYPE_CFLAGS=-I${STAGING_INCDIR}/freetype2" "FREETYPE_LIBS=-lfreetype -lz"
+ oe_runmake -C fc-glyphname "CC=${BUILD_CC}" \
+ "CFLAGS=${BUILD_CFLAGS}" "LDFLAGS=${BUILD_LDFLAGS}" \
+ "CPPFLAGS=${BUILD_CPPFLAGS}" "CXXFLAGS=${BUILD_CXXFLAGS}"
+ "FREETYPE_CFLAGS=-I${STAGING_INCDIR}/freetype2" "FREETYPE_LIBS=-lfreetype -lz"
oe_runmake
}
do_stage () {
- install -m 755 -D src/.libs/libfontconfig.so.${FC_SONAME} ${STAGING_LIBDIR}/libfontconfig.so.${FC_SONAME}
- ln -sf ./libfontconfig.so.${FC_SONAME} ${STAGING_LIBDIR}/libfontconfig.so.1
- ln -sf ./libfontconfig.so.${FC_SONAME} ${STAGING_LIBDIR}/libfontconfig.so
+ oe_soinstall src/.libs/libfontconfig.so.1.0.4 ${STAGING_LIBDIR}/
+ install -m 0644 src/.libs/libfontconfig.a ${STAGING_LIBDIR}/
+ install -m 0644 src/.libs/libfontconfig.lai ${STAGING_LIBDIR}/libfontconfig.la
install -d ${STAGING_INCDIR}/fontconfig
- cp -a fontconfig/*.h ${STAGING_INCDIR}/fontconfig/
+ cp -a ${S}/fontconfig/*.h ${STAGING_INCDIR}/fontconfig/
}