summaryrefslogtreecommitdiff
path: root/recipes/gtk-webcore/midori_0.2.4.bb
diff options
context:
space:
mode:
authorKoen Kooi <koen@openembedded.org>2010-03-08 16:00:46 +0100
committerKoen Kooi <koen@openembedded.org>2010-03-08 18:47:57 +0100
commite5dcf0d4e407c1c8f8bb9fd58e3c56f9b1712255 (patch)
treecca578bcdd3831dcbb8505e5233282751750df9e /recipes/gtk-webcore/midori_0.2.4.bb
parent7c6fbaac318c1fb370b77c0f6da165d9012c8a52 (diff)
midori: add 0.2.4
Diffstat (limited to 'recipes/gtk-webcore/midori_0.2.4.bb')
-rw-r--r--recipes/gtk-webcore/midori_0.2.4.bb39
1 files changed, 39 insertions, 0 deletions
diff --git a/recipes/gtk-webcore/midori_0.2.4.bb b/recipes/gtk-webcore/midori_0.2.4.bb
new file mode 100644
index 0000000000..d75076fbfc
--- /dev/null
+++ b/recipes/gtk-webcore/midori_0.2.4.bb
@@ -0,0 +1,39 @@
+require midori.inc
+
+DEPENDS += "python-native python-docutils-native"
+
+SRC_URI = "http://archive.xfce.org/src/apps/midori/0.2/midori-${PV}.tar.bz2;name=midori \
+ file://waf"
+SRC_URI[midori.md5sum] = "ccd2ae162993c2c92c9e0eac7778c62d"
+SRC_URI[midori.sha256sum] = "02a2b13e2ca51badae828b0a331af92f09ae3d6a9ab0a56e647544db64f7790f"
+
+SRC_URI_append_shr = " file://config \
+ "
+
+do_configure() {
+ cp -f ${WORKDIR}/waf ${S}/
+ sed -i -e 's:, shell=False::g' wscript
+ ./configure \
+ --prefix=${prefix} \
+ --bindir=${bindir} \
+ --sbindir=${sbindir} \
+ --libexecdir=${libexecdir} \
+ --datadir=${datadir} \
+ --sysconfdir=${sysconfdir} \
+ --sharedstatedir=${sharedstatedir} \
+ --localstatedir=${localstatedir} \
+ --libdir=${libdir} \
+ --includedir=${includedir} \
+ --infodir=${infodir} \
+ --mandir=${mandir} \
+ ${EXTRA_OECONF}
+
+ sed -i /LINK_CC/d ./_build_/c4che/default.cache.py
+ echo "LINK_CC = '${CXX}'" >> ./_build_/c4che/default.cache.py
+}
+
+do_install_append_shr() {
+ install -d ${D}${sysconfdir}/xdg/midori
+ install -m 0644 ${WORKDIR}/config ${D}${sysconfdir}/xdg/midori
+}
+