diff options
Diffstat (limited to 'packages/xorg-lib/libxft_cvs.bb')
-rw-r--r-- | packages/xorg-lib/libxft_cvs.bb | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/packages/xorg-lib/libxft_cvs.bb b/packages/xorg-lib/libxft_cvs.bb new file mode 100644 index 0000000000..6c1a5f5c32 --- /dev/null +++ b/packages/xorg-lib/libxft_cvs.bb @@ -0,0 +1,26 @@ +PV = "0.0+cvs${SRCDATE}" +LICENSE = "MIT-X" +SECTION = "x11/libs" +DEPENDS = "libx11 xproto libxrender freetype fontconfig" +DESCRIPTION = "X FreeType library. Client-side fonts with FreeType." +PROVIDES = "xft" + +SRC_URI = "${FREEDESKTOP_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() { + autotools_stage_all +} + +python do_package() { + if bb.data.getVar('DEBIAN_NAMES', d, 1): + bb.data.setVar('PKG_${PN}', 'libxft2', d) + bb.build.exec_func('package_do_package', d) +} |