summaryrefslogtreecommitdiff
path: root/packages/minipredict/libdictionary.bb
diff options
context:
space:
mode:
authorKoen Kooi <koen@openembedded.org>2005-06-30 08:19:37 +0000
committerOpenEmbedded Project <openembedded-devel@lists.openembedded.org>2005-06-30 08:19:37 +0000
commitc8e5702127e507e82e6f68a4b8c546803accea9d (patch)
tree00583491f40ecc640f2b28452af995e3a63a09d7 /packages/minipredict/libdictionary.bb
parent87ec8ca4d2e2eb4d1c1e1e1a6b46a395d56805b9 (diff)
import clean BK tree at cset 1.3670
Diffstat (limited to 'packages/minipredict/libdictionary.bb')
-rw-r--r--packages/minipredict/libdictionary.bb33
1 files changed, 33 insertions, 0 deletions
diff --git a/packages/minipredict/libdictionary.bb b/packages/minipredict/libdictionary.bb
index e69de29bb2..05cdc268e3 100644
--- a/packages/minipredict/libdictionary.bb
+++ b/packages/minipredict/libdictionary.bb
@@ -0,0 +1,33 @@
+inherit gpe pkgconfig
+
+DESCRIPTION = "Dictionary access library, used by minipredict."
+RRECOMMENDS = "dictionary"
+SECTION = "gpe"
+PRIORITY = "optional"
+
+SRC_URI = "http://handhelds.org/~paxanima/files/${PN}.tar.gz"
+
+S = "${WORKDIR}/${PN}/"
+
+do_compile() {
+ oe_runmake lib
+}
+
+FILES_${PN} = "${libdir}/libdictionary.so"
+FILES_${PN}-dev = "${libdir}/libdictionary/*.o ${includedir}/libdictionary/*.h"
+
+do_stage() {
+ install -d ${STAGING_INCDIR}/libdictionary
+ install ${S}/*.h ${STAGING_INCDIR}/libdictionary/
+ oe_libinstall -C ${S} libdictionary ${STAGING_LIBDIR}/
+}
+
+do_install() {
+ install -d ${D}/${libdir}
+ install -d ${D}/${libdir}/libdictionary
+ install -d ${D}/${includedir}/libdictionary
+ install ${S}/libdictionary.so ${D}/${libdir}/
+ install ${S}/*.h ${D}/${includedir}/libdictionary/
+ install ${S}/*.o ${D}/${libdir}/libdictionary/
+}
+