9ec98ca8cbcba02c4f84bfc132c339e0403e692e
[vuplus_openembedded] / aspell / aspell_0.50.5.oe
1 SRC_URI = "ftp://ftp.gnu.org/gnu/aspell/aspell-${PV}.tar.gz \
2         file://mk-dirs_h.py \
3         file://makefile.patch;patch=1"
4 DESCRIPTION = "GNU Aspell spell-checker"
5
6 PACKAGES =+ "libaspell libpspell libpspell-dev aspell-utils"
7
8 FILES_libaspell = "${libdir}/libaspell.so.* ${datadir}/aspell"
9 FILES_aspell-utils = "${bindir}/word-list-compress ${bindir}/aspell-import ${bindir}/run-with-aspell"
10 FILES_${PN} = "${bindir}/aspell"
11 FILES_libpspell = "${libdir}/libpspell.so.*"
12 FILES_libpspell-dev = "${libdir}/libpspell* ${bindir}/pspell-config ${includedir}/pspell"
13
14 inherit autotools
15
16 do_compile_prepend() {
17         install ${WORKDIR}/mk-dirs_h.py ${S}/common/mk-dirs_h
18 }
19
20 do_stage() {
21         oe_libinstall -C lib -so libaspell ${STAGING_LIBDIR}
22         install -m 0644 interfaces/cc/aspell.h ${STAGING_INCDIR}
23         oe_libinstall -C lib -so libpspell ${STAGING_LIBDIR}
24         install -d ${STAGING_INCDIR}/pspell
25         install -m 0644 interfaces/cc/pspell.h ${STAGING_INCDIR}/pspell
26 }