1 DESCRIPTION = "Delay Tolerant Networking Package"
2 HOMEPAGE = "http://www.dtnrg.org/wiki"
4 DEPENDS = "db openssl python-native xerces-c"
8 # thread code atomic ops do not play with thumb
9 ARM_INSTRUCTION_SET = "arm"
12 http://www.dtnrg.org/docs/code/dtn_${PV}.tgz \
13 file://configure_fix.patch;patch=1 \
16 inherit autotools distutils-base
19 --with-python=${STAGING_BINDIR_NATIVE}/python \
20 --with-db=${STAGING_DIR_HOST}${layout_exec_prefix} \
21 --with-tcl=${STAGING_DIR_HOST}${layout_exec_prefix} \
22 --without-google-perftools \
25 --with-expat=${STAGING_DIR_HOST}${layout_exec_prefix} \
26 --with-xerces-c=${STAGING_DIR_HOST}${layout_exec_prefix} \
27 --without-tclreadline \
28 --with-zlib=${STAGING_DIR_HOST}${layout_exec_prefix} \
30 --with-db=${STAGING_DIR_HOST}${layout_exec_prefix} \
35 --with-openssl=${STAGING_DIR_HOST}${layout_exec_prefix} \
41 do_configure_prepend() {
42 for i in aclocal/*.ac oasys/aclocal/*.ac; do
43 install -m 0644 $i ${STAGING_DATADIR}/aclocal/`basename $i`.m4
45 autotools_do_configure
50 INCDIR=../.. LIBDIR=.. VERSION=${PV} python setup.py install --prefix=${D}/${prefix} --install-data=${D}/${datadir}
53 PACKAGES =+ "${PN}-lib"
54 FILES_${PN}-lib = "${libdir}/*.so*"
55 PACKAGES += "python-dtn"
56 DESCRIPTION_python-dtn = "Python bindings to the DTN API"
58 FILES_python-dtn = "${libdir}/${PYTHON_DIR}"
59 RDEPENDS_python-dtn = "python-core dtn-lib"
62 ${libdir}/${PYTHON_DIR}/site-packages/.debug \
67 FILES_${PN} += "${sysconfdir}"