summaryrefslogtreecommitdiff
path: root/libxft/libxft_2.1.6.oe
blob: 2e51a9c1b45ae833e8961ef99fdb18ade9dfac4e (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
SECTION = "x11/libs"
DEPENDS = "x11 xproto libxrender freetype fontconfig"
DESCRIPTION = "X FreeType library. Client-side fonts with FreeType."
PROVIDES = "xft"

SRC_URI = "${XLIBS_MIRROR}/libXft-${PV}.tar.bz2"
S = "${WORKDIR}/libXft-${PV}"

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