summaryrefslogtreecommitdiff
path: root/recipes/mml-widget/gtkmathview_0.8.0.bb
blob: 8c745737e3648b92f362872f42f78c1b8034ac81 (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
25
26
LICENSE = "GPL"
HOMEPAGE = "http://helm.cs.unibo.it/mml-widget/"
DEPENDS = "t1lib gtk+ popt libxslt libxml2"

PR = "r1"

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	
}