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