summaryrefslogtreecommitdiff
path: root/package/midori/midori.mk
diff options
context:
space:
mode:
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>2010-07-19 09:21:22 +0200
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>2010-07-27 22:48:12 +0200
commit36830f2ff42854306b37f93a1a1abdef57bd292f (patch)
treeadb422fb7f3425a049897142f900e3f2373e7b6c /package/midori/midori.mk
parent760c2d172628fbc03c6e0cd06c831d141907b223 (diff)
midori: bump to 0.2.6
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'package/midori/midori.mk')
-rw-r--r--package/midori/midori.mk27
1 files changed, 21 insertions, 6 deletions
diff --git a/package/midori/midori.mk b/package/midori/midori.mk
index 400b5283a..ffee596fb 100644
--- a/package/midori/midori.mk
+++ b/package/midori/midori.mk
@@ -4,13 +4,28 @@
#
#############################################################
-MIDORI_VERSION = 0.0.18
-MIDORI_SOURCE = midori-$(MIDORI_VERSION).tar.gz
-MIDORI_SITE = http://software.twotoasts.de/media/midori/
-MIDORI_AUTORECONF = YES
+MIDORI_VERSION = 0.2.6
+MIDORI_SOURCE = midori-$(MIDORI_VERSION).tar.bz2
+MIDORI_SITE = http://archive.xfce.org/src/apps/midori/0.2/
MIDORI_INSTALL_STAGING = NO
MIDORI_INSTALL_TARGET = YES
-MIDORI_DEPENDENCIES = host-pkg-config webkit libsexy xserver_xorg-server
+MIDORI_DEPENDENCIES = host-pkg-config host-intltool webkit libsexy libgtk2
-$(eval $(call AUTOTARGETS,package,midori))
+define MIDORI_CONFIGURE_CMDS
+ (cd $(@D); \
+ $(TARGET_CONFIGURE_OPTS) \
+ ./waf configure \
+ --prefix=/usr \
+ )
+endef
+
+define MIDORI_BUILD_CMDS
+ (cd $(@D); ./waf build -j $(BR2_JLEVEL))
+endef
+
+define MIDORI_INSTALL_TARGET_CMDS
+ (cd $(@D); ./waf --destdir=$(TARGET_DIR) install)
+endef
+
+$(eval $(call GENTARGETS,package,midori))