summaryrefslogtreecommitdiff
path: root/recipes/gtk-webcore
diff options
context:
space:
mode:
authorKoen Kooi <koen@openembedded.org>2010-03-02 18:04:48 +0100
committerKoen Kooi <koen@openembedded.org>2010-03-02 18:04:48 +0100
commitf8b1ae61d0887f91e762899bef83b0329dd46990 (patch)
tree287591dd4c9db9e08cf07a6913bd9efed4236a45 /recipes/gtk-webcore
parent9f1b3bdace37af23d3914f47f0bf472ec0d9cdb0 (diff)
midori: add 0.2.3
Diffstat (limited to 'recipes/gtk-webcore')
-rw-r--r--recipes/gtk-webcore/midori_0.2.3.bb39
1 files changed, 39 insertions, 0 deletions
diff --git a/recipes/gtk-webcore/midori_0.2.3.bb b/recipes/gtk-webcore/midori_0.2.3.bb
new file mode 100644
index 0000000000..b8f23e4a5f
--- /dev/null
+++ b/recipes/gtk-webcore/midori_0.2.3.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] = "7289b170ab14925c2dc889f57a0b6a70"
+SRC_URI[midori.sha256sum] = "01edb228d248dca0f3e3be6f41421a301291cb14849e9ef5a155ddf11947dfac"
+
+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
+}
+