summaryrefslogtreecommitdiff
path: root/xft/xft-cvs.oe
blob: 3d9e5ecff25356c4ed0f3f76224074bff869afce (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
PV = "0.0cvs${CVSDATE}"
SECTION = "libs"
DEPENDS = "virtual/libc x11-cvs xproto-cvs xrender-cvs freetype fontconfig"
PROVIDES = "xft"
DESCRIPTION = "X FreeType library. Client-side fonts with FreeType."

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 libtool

do_stage() {
	oe_runmake install DESTDIR=${STAGING_DIR} \
	       bindir=/build/bin \
	       includedir=/target/include \
	       libdir=/target/lib \
	       datadir=/share
	       prefix=
}

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)
}