From b573e7d721a912da9aeffe0c3f4a5eef247902a0 Mon Sep 17 00:00:00 2001 From: Michael Lauer Date: Tue, 4 Dec 2007 16:12:15 +0000 Subject: add python-sword 1.5.10, remove older versions that no longer build. closes #2790 --- packages/python/python-sword_1.5.10.bb | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 packages/python/python-sword_1.5.10.bb (limited to 'packages/python/python-sword_1.5.10.bb') 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 +} -- cgit v1.2.3