summaryrefslogtreecommitdiff
path: root/packages/python/python-sword_1.5.10.bb
diff options
context:
space:
mode:
authorJeremy Laine <jeremy.laine@m4x.org>2007-12-07 10:00:18 +0000
committerJeremy Laine <jeremy.laine@m4x.org>2007-12-07 10:00:18 +0000
commit8beb70740dbd64d2138df8a07aafc24719cb50a6 (patch)
treeb9afae298a6bcb79696984da4422d5ef939a4031 /packages/python/python-sword_1.5.10.bb
parentd2bbf4ace892d7f32933ca26f1f2b320fc0bcb99 (diff)
parente25bfd9221d17ae8fe0efdc96ed9cd74de0e4a4d (diff)
merge of '576d7c6e5dbff47f56003806561fdc43a07c6f50'
and 'f564197dcff7dea800a0dcabf27c4809e2521c8c'
Diffstat (limited to 'packages/python/python-sword_1.5.10.bb')
-rw-r--r--packages/python/python-sword_1.5.10.bb32
1 files changed, 32 insertions, 0 deletions
diff --git a/packages/python/python-sword_1.5.10.bb b/packages/python/python-sword_1.5.10.bb
new file mode 100644
index 0000000000..a18cf89466
--- /dev/null
+++ b/packages/python/python-sword_1.5.10.bb
@@ -0,0 +1,32 @@
+DESCRIPTION = "Python bindings for the sword library"
+SECTION = "devel/python"
+PRIORITY = "optional"
+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() {
+ touch ltmain.sh
+ ./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
+}