summaryrefslogtreecommitdiff
path: root/packages/aspell/aspell-lang.inc
blob: 8c58136f0e5f963c762f74df9bc0d73715aa1803 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
FILES_${PN} = "/usr/lib/aspell* /usr/share/aspell*"

DEPENDS = "aspell-native"

do_configure() {
	cd ${S}
	DESTDIR=${D} ./configure --vars ASPELL=${STAGING_BINDIR_NATIVE}/aspell
}

do_compile() {
	sed -i -e "s|dictdir.*lib|dictdir = ${libdir}|" Makefile
	sed -i -e "s|datadir.*lib|datadir = ${libdir}|" Makefile
	oe_runmake
}

do_install() {
	unset datadir
	oe_runmake install
}