merge of '07a342693675fe2b1daacf0eb62302579d9fade3'
[org.openembedded.dev.git] / packages / freetype / freetype_2.2.1.bb
blob3e5fafc4031bf6c642385c9e650a1b83f936904d
1 DESCRIPTION = "Freetype font rendering library"
2 SECTION = "libs"
3 LICENSE = "freetype"
4 PR = "r2"
6 SRC_URI = "${SOURCEFORGE_MIRROR}/freetype/freetype-${PV}.tar.bz2 \
7 file://configure.patch;patch=1 \
8 file://no-hardcode.patch;patch=1"
9 S = "${WORKDIR}/freetype-${PV}"
11 inherit autotools pkgconfig binconfig
13 DEFAULT_PREFERENCE = "-1"
15 LIBTOOL = "${S}/builds/unix/${HOST_SYS}-libtool"
16 EXTRA_OEMAKE = "'LIBTOOL=${LIBTOOL}'"
17 EXTRA_OECONF = "--without-zlib"
19 do_configure() {
20 cd builds/unix
21 gnu-configize
22 aclocal -I .
23 autoconf
24 cd ${S}
25 oe_runconf
28 do_compile_prepend() {
29 ${BUILD_CC} -o objs/apinames src/tools/apinames.c
32 do_stage() {
33 autotools_stage_includes
34 oe_libinstall -so -a -C objs libfreetype ${STAGING_LIBDIR}
37 FILES_${PN} = "${libdir}/lib*.so.*"
38 FILES_${PN}-dev += "${bindir}"