kumquat-buildroot/package/midori/midori.mk
Gustavo Zacarias 3693cdb6e4 midori: bump to 0.2.9 and make it build with directfb
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-11-19 07:24:15 +01:00

39 lines
902 B
Makefile

#############################################################
#
# midori
#
#############################################################
MIDORI_VERSION = 0.2.9
MIDORI_SOURCE = midori-$(MIDORI_VERSION).tar.bz2
MIDORI_SITE = http://archive.xfce.org/src/apps/midori/0.2/
MIDORI_INSTALL_TARGET = YES
MIDORI_DEPENDENCIES = host-pkg-config host-intltool webkit libsexy libgtk2
ifneq ($(BR2_PACKAGE_XORG7),y)
define MIDORI_WITHOUT_X11
$(SED) "s/check_pkg ('x11')/#check_pkg ('x11')/" $(@D)/wscript
endef
endif
define MIDORI_CONFIGURE_CMDS
$(MIDORI_WITHOUT_X11)
(cd $(@D); \
$(TARGET_CONFIGURE_OPTS) \
./waf configure \
--prefix=/usr \
--disable-vala \
)
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))