summaryrefslogtreecommitdiff
path: root/package/midori/Makefile
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2014-04-30 13:26:35 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2014-04-30 13:31:20 +0200
commit5a43da1af12df3a39cd30b724bf9144850bd2764 (patch)
tree1480c5d41b739168d930ddf503f407218e35b98d /package/midori/Makefile
parent30d6f21d2fb3ca89a86346994a70a436afbb2e14 (diff)
experimental midori support
Diffstat (limited to 'package/midori/Makefile')
-rw-r--r--package/midori/Makefile40
1 files changed, 40 insertions, 0 deletions
diff --git a/package/midori/Makefile b/package/midori/Makefile
new file mode 100644
index 000000000..13a916bc0
--- /dev/null
+++ b/package/midori/Makefile
@@ -0,0 +1,40 @@
+# This file is part of the OpenADK project. OpenADK is copyrighted
+# material, please see the LICENCE file in the top-level directory.
+
+include $(TOPDIR)/rules.mk
+
+PKG_NAME:= midori
+PKG_VERSION:= 0.5.8
+PKG_RELEASE:= 1
+PKG_MD5SUM:= 5815eac39f4d9511ce2c71a81567647f
+PKG_DESCR:= web browser
+PKG_SECTION:= x11/apps
+PKG_DEPENDS:= libnotify webkitgtk
+PKG_BUILDDEP:= autotool cmake-host vala-host libnotify webkitgtk
+PKG_BUILDDEP+= librsvg-host librsvg
+PKG_URL:= http://www.midori-browser.org
+PKG_SITES:= http://www.midori-browser.org/downloads/
+
+WRKBUILD= ${WRKDIR}/${PKG_NAME}-obj
+DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.xz
+
+include $(TOPDIR)/mk/package.mk
+
+$(eval $(call PKG_template,MIDORI,midori,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
+
+CONFIG_STYLE:= manual
+
+do-configure:
+ (cd $(WRKBUILD) && PATH='${HOST_PATH}' \
+ cmake -DCMAKE_SYSTEM_NAME=Linux \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DENABLE_NLS=0 \
+ -DUSE_ZEITGEIST=0 \
+ $(WRKSRC)/)
+
+midori-install:
+ $(INSTALL_DIR) $(IDIR_MIDORI)/usr/bin
+ $(INSTALL_BIN) $(WRKINST)/usr/bin/midori \
+ $(IDIR_MIDORI)/usr/bin
+
+include ${TOPDIR}/mk/pkg-bottom.mk