diff options
Diffstat (limited to 'packages/libxft')
-rw-r--r-- | packages/libxft/libxft_2.1.6.bb | 1 | ||||
-rw-r--r-- | packages/libxft/libxft_cvs.bb | 31 |
2 files changed, 32 insertions, 0 deletions
diff --git a/packages/libxft/libxft_2.1.6.bb b/packages/libxft/libxft_2.1.6.bb index 070d82f13b..d7cb351d63 100644 --- a/packages/libxft/libxft_2.1.6.bb +++ b/packages/libxft/libxft_2.1.6.bb @@ -1,4 +1,5 @@ SECTION = "x11/libs" +LICENSE = "MIT-X" DEPENDS = "x11 xproto libxrender freetype fontconfig" DESCRIPTION = "X FreeType library. Client-side fonts with FreeType." PROVIDES = "xft" diff --git a/packages/libxft/libxft_cvs.bb b/packages/libxft/libxft_cvs.bb index e69de29bb2..d25b04e483 100644 --- a/packages/libxft/libxft_cvs.bb +++ b/packages/libxft/libxft_cvs.bb @@ -0,0 +1,31 @@ +PV = "0.0cvs${CVSDATE}" +LICENSE = "MIT-X" +SECTION = "x11/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 bb.data.getVar('DEBIAN_NAMES', d, 1): + bb.data.setVar('PKG_${PN}', 'libxft2', d) + bb.build.exec_func('package_do_package', d) +} |