summaryrefslogtreecommitdiff
path: root/libxft/libxft_cvs.oe
diff options
context:
space:
mode:
Diffstat (limited to 'libxft/libxft_cvs.oe')
-rw-r--r--libxft/libxft_cvs.oe30
1 files changed, 30 insertions, 0 deletions
diff --git a/libxft/libxft_cvs.oe b/libxft/libxft_cvs.oe
index e69de29bb2..3415c60764 100644
--- a/libxft/libxft_cvs.oe
+++ b/libxft/libxft_cvs.oe
@@ -0,0 +1,30 @@
+PV = "0.0cvs${CVSDATE}"
+SECTION = "libs"
+DEPENDS = "x11 xproto libxrender freetype fontconfig"
+DESCRIPTION = "X FreeType library. Client-side fonts with FreeType."
+PROVIDES = "xft"
+
+SRC_URI = "cvs://anoncvs:anoncvs@pdx.freedesktop.org/cvs/xlibs;module=Xft"
+S = "${WORKDIR}/Xft"
+
+FILES_${PN} = ${libdir}/lib*.so.*
+FILES_${PN}-dev = ${includedir} ${libdir}/lib*.so ${libdir}/*.la \
+ ${libdir}/*.a ${libdir}/pkgconfig \
+ ${datadir}/aclocal ${bindir} ${sbindir}
+
+inherit autotools pkgconfig
+
+do_stage() {
+ oe_runmake install prefix=${STAGING_DIR} \
+ bindir=${STAGING_BINDIR} \
+ includedir=${STAGING_INCDIR} \
+ libdir=${STAGING_LIBDIR} \
+ datadir=${STAGING_DATADIR} \
+ mandir=${STAGING_DATADIR}/man
+}
+
+python do_package() {
+ if oe.data.getVar('DEBIAN_NAMES', d, 1):
+ oe.data.setVar('PKG_${PN}', 'libxft2', d)
+ oe.build.exec_func('package_do_package', d)
+}