LICENSE = "GPL" HOMEPAGE = "http://helm.cs.unibo.it/mml-widget/" DEPENDS = "t1lib gtk+ popt libxslt libxml2" SRC_URI = "http://helm.cs.unibo.it/mml-widget/sources/${P}.tar.gz \ file://mathview-gcc43x.diff;patch=1 \ " inherit autotools AUTOTOOLS_STAGE_PKGCONFIG = 1 EXTRA_OECONF = "--disable-binreloc" do_configure_prepend() { sed -i -e s:AM_BINRELOC::g ${S}/configure.ac } do_stage() { autotools_stage_all for i in ${PKG_CONFIG_DIR}/*math*.pc ; do sed -i -e s:${STAGING_INCDIR}:'${libdir}':g $i done }