aboutsummaryrefslogtreecommitdiffstats
path: root/packages/freetype/freetype-native_2.1.8.bb
blob: 212e239e6e32421b23c8f9fbcf5fa25846764e46 (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
SECTION = "libs"
LICENSE = "freetype"
DESCRIPTION = "Freetype font rendering library"

SRC_URI = "ftp://ftp.freetype.org/freetype/freetype2/freetype-${PV}.tar.bz2 \
	   file://${FILESDIR}/configure.patch;patch=1"

inherit autotools pkgconfig native binconfig
DEPENDS = ""
FILESDIR = "${@os.path.dirname(bb.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/
}