summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhil Blundell <philb@gnu.org>2004-06-27 15:44:02 +0000
committerPhil Blundell <philb@gnu.org>2004-06-27 15:44:02 +0000
commit85c7d26b5560feb1568dec26e356685314dbdfba (patch)
treefafd42736e0e09add52d766e48c2265bf8200b63
parent882539f336bf41cfe88f33a61589858c99ba8375 (diff)
install libpspell into staging
BKrev: 40deeb42jBtf81v1pzGP-g8g2_7eaQ
-rw-r--r--aspell/aspell_0.50.5.oe26
1 files changed, 26 insertions, 0 deletions
diff --git a/aspell/aspell_0.50.5.oe b/aspell/aspell_0.50.5.oe
index e69de29bb2..9ec98ca8cb 100644
--- a/aspell/aspell_0.50.5.oe
+++ b/aspell/aspell_0.50.5.oe
@@ -0,0 +1,26 @@
+SRC_URI = "ftp://ftp.gnu.org/gnu/aspell/aspell-${PV}.tar.gz \
+ file://mk-dirs_h.py \
+ file://makefile.patch;patch=1"
+DESCRIPTION = "GNU Aspell spell-checker"
+
+PACKAGES =+ "libaspell libpspell libpspell-dev aspell-utils"
+
+FILES_libaspell = "${libdir}/libaspell.so.* ${datadir}/aspell"
+FILES_aspell-utils = "${bindir}/word-list-compress ${bindir}/aspell-import ${bindir}/run-with-aspell"
+FILES_${PN} = "${bindir}/aspell"
+FILES_libpspell = "${libdir}/libpspell.so.*"
+FILES_libpspell-dev = "${libdir}/libpspell* ${bindir}/pspell-config ${includedir}/pspell"
+
+inherit autotools
+
+do_compile_prepend() {
+ install ${WORKDIR}/mk-dirs_h.py ${S}/common/mk-dirs_h
+}
+
+do_stage() {
+ oe_libinstall -C lib -so libaspell ${STAGING_LIBDIR}
+ install -m 0644 interfaces/cc/aspell.h ${STAGING_INCDIR}
+ oe_libinstall -C lib -so libpspell ${STAGING_LIBDIR}
+ install -d ${STAGING_INCDIR}/pspell
+ install -m 0644 interfaces/cc/pspell.h ${STAGING_INCDIR}/pspell
+}