aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/nonworking/python/python-sword_1.5.10.bb
blob: c6acd5c72602674a4ac2b0324040cf485625694c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
DESCRIPTION = "Python bindings for the sword library"
SECTION = "devel/python"
PRIORITY = "optional"
LICENSE = "GPL"
RDEPENDS_${PN} = "python-core sword"
DEPENDS = "sword-${PV} swig-native"
SRCNAME = "sword"
PR = "r1"

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}${layout_exec_prefix}"

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
}

SRC_URI[md5sum] = "4c920f2a3ee72040df8a8e105ad840df"
SRC_URI[sha256sum] = "5fb3f030e9395e23a48c02bde6bc81ad42b1c4056a011d9ee15c4c85110eb847"