blob: b8f268a4fd8421bfa1cfb1f11670f8582458e9c6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
DESCRIPTION = "Freetype font rendering library"
SRC_URI = "ftp://ftp.freetype.org/freetype/freetype2/freetype-${PV}.tar.bz2 \
file://configure.patch;patch=1"
inherit autotools pkgconfig native
DEPENDS = "patcher-native"
FILESDIR = "${@os.path.dirname(oe.data.getVar('FILE',d,1))}/freetype-${PV}"
S = "${WORKDIR}/freetype-${PV}"
PACKAGES = ""
do_configure () {
(cd builds/unix && gnu-configize) || die "failure running gnu-configize"
oe_runconf
}
do_stage () {
oe_libinstall -so -a -C objs libfreetype ${STAGING_LIBDIR}
cp -a ${S}/include/*.h ${STAGING_INCDIR}
install -d ${STAGING_INCDIR}/freetype2
cp -a ${S}/include/freetype ${STAGING_INCDIR}/freetype2/
}
|