diff options
Diffstat (limited to 'recipes/openmoko-3rdparty')
-rw-r--r-- | recipes/openmoko-3rdparty/babiloo-efl_bzr.bb | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/recipes/openmoko-3rdparty/babiloo-efl_bzr.bb b/recipes/openmoko-3rdparty/babiloo-efl_bzr.bb new file mode 100644 index 0000000000..da792df354 --- /dev/null +++ b/recipes/openmoko-3rdparty/babiloo-efl_bzr.bb @@ -0,0 +1,40 @@ +DESCRIPTION = "EFL Dictionary Viewer. It supports dictionaries in SDictionary and StarDict format." +SECTION = "devel/python" +PRIORITY = "optional" +LICENSE = "GPL" +AUTHOR = "Luca Vaudano <vaudano@gmail.com>" +HOMEPAGE = "http://babiloo-project.org" +RDEPENDS = "python-elementary python-compression python-misc python-netclient" + +PACKAGE_ARCH = "all" + +PV = "2.0.9-bzrr${SRCREV}" + +SRC_URI = "bzr://bazaar.launchpad.net/~vaudano/babiloo/efl" + +S = "${WORKDIR}/efl" + +do_install() { + install -d "${D}${datadir}/babiloo" + cp -a "${S}/core" "${D}${datadir}/babiloo/" + cp -a "${S}/efl" "${D}${datadir}/babiloo/" + cp -a "${S}/images" "${D}${datadir}/babiloo/" + cp -a "${S}/dicts" "${D}${datadir}/babiloo/" + install -m 0755 "${S}/run.py" "${D}${datadir}/babiloo/" + install -d "${D}${bindir}" + ln -s "${datadir}/babiloo/run.py" "${D}${bindir}/babiloo" + install -d "${D}${datadir}/pixmaps" + install -m 0644 "${S}/images/babiloo.png" "${D}${datadir}/pixmaps" + install -d "${D}${datadir}/applications" + install -m 0644 "${S}/babiloo.desktop" "${D}${datadir}/applications" + + install -d "${D}${datadir}" + cp -a "${S}/locale" "${D}${datadir}/" + find ${D}${datadir}/locale -name *.po -exec rm {} \; + rm -f ${D}${datadir}/locale/babiloo.pot + + install -d "${D}${datadir}/doc" + install -m 0644 "${S}/doc/efl/babiloo.pdf" "${D}${datadir}/doc/" +} + +FILES_${PN} += "${datadir}/babiloo" |