summaryrefslogtreecommitdiff
path: root/packages
diff options
context:
space:
mode:
authorMichael Lauer <mickey@vanille-media.de>2005-09-11 18:07:19 +0000
committerOpenEmbedded Project <openembedded-devel@lists.openembedded.org>2005-09-11 18:07:19 +0000
commit19cc4dc12988b78c8bbbaffc7e786f7df386f2dc (patch)
tree69f19f96995f08471b26b914cad2269efd1390d4 /packages
parente8bfd5e0314d63e3f9a0fe012d7d8f032ae10fbb (diff)
add python-sword, python bindings for the sword document reader library
patch courtesy Matt Reimer, thanks.
Diffstat (limited to 'packages')
-rw-r--r--packages/meta/task-python-everything_1.0.0.bb (renamed from packages/meta/task-python-everything_0.9.2.bb)3
-rw-r--r--packages/meta/task-python-sharprom_1.0.0.bb (renamed from packages/meta/task-python-sharprom_0.9.0.bb)3
-rw-r--r--packages/python/python-sword_1.5.8.bb31
3 files changed, 35 insertions, 2 deletions
diff --git a/packages/meta/task-python-everything_0.9.2.bb b/packages/meta/task-python-everything_1.0.0.bb
index f77399c571..46c37676b7 100644
--- a/packages/meta/task-python-everything_0.9.2.bb
+++ b/packages/meta/task-python-everything_1.0.0.bb
@@ -2,7 +2,7 @@ DESCRIPTION= "Everything Python"
MAINTAINER = "Michael 'Mickey' Lauer <mickey@Vanille.de>"
HOMEPAGE = "http://www.vanille.de/projects/python.spy"
LICENSE = "MIT"
-PR = "ml2"
+PR = "ml0"
DEPENDS = "\
python-ao \
@@ -51,6 +51,7 @@ DEPENDS = "\
python-sgmlop \
python-snmplib \
python-soappy \
+ python-sword \
python-pysqlite \
python-pysqlite2 \
python-tlslite \
diff --git a/packages/meta/task-python-sharprom_0.9.0.bb b/packages/meta/task-python-sharprom_1.0.0.bb
index 12009b4717..349a40474f 100644
--- a/packages/meta/task-python-sharprom_0.9.0.bb
+++ b/packages/meta/task-python-sharprom_1.0.0.bb
@@ -2,7 +2,7 @@ DESCRIPTION= "Everything Python for SharpROM"
MAINTAINER = "Michael 'Mickey' Lauer <mickey@Vanille.de>"
HOMEPAGE = "http://www.vanille.de/projects/python.spy"
LICENSE = "MIT"
-PR = "ml4"
+PR = "ml0"
NONWORKING = "\
python-codes \
@@ -50,6 +50,7 @@ DEPENDS = "\
python-sip \
python-snmplib \
python-soappy \
+ python-sword \
python-tlslite \
python-urwid \
python-vmaps \
diff --git a/packages/python/python-sword_1.5.8.bb b/packages/python/python-sword_1.5.8.bb
new file mode 100644
index 0000000000..ddbebb503a
--- /dev/null
+++ b/packages/python/python-sword_1.5.8.bb
@@ -0,0 +1,31 @@
+DESCRIPTION = "Python bindings for the sword library"
+SECTION = "devel/python"
+PRIORITY = "optional"
+MAINTAINER = "Matt Reimer <mreimer@vpop.net>"
+LICENSE = "GPL"
+RDEPENDS = "python-core sword"
+DEPENDS = "sword-${PV} swig-native"
+SRCNAME = "sword"
+PR = "r0"
+
+SRC_URI = "http://crosswire.org/ftpmirror/pub/sword/source/v1.5/sword-${PV}.tar.gz"
+S = "${WORKDIR}/${SRCNAME}-${PV}/bindings/swig/package"
+
+EXTRA_OECONF = "--with-sword-dir=${STAGING_DIR}/${HOST_SYS}"
+
+inherit distutils autotools
+
+PARALLEL_MAKE = ""
+
+do_configure_prepend() {
+ ./autogen.sh
+}
+
+do_compile() {
+ oe_runmake BUILD_SYS=${BUILD_SYS} HOST_SYS=${HOST_SYS} pythonswig python_make
+}
+
+do_install() {
+ cd ${S}/python
+ distutils_do_install
+}