summaryrefslogtreecommitdiff
path: root/recipes/mml-widget/gtkmathview_0.8.0.bb
blob: 2fe48ea8722c8bc000829d48193dc48ee018e055 (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
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	
}