1
0

Makefile 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. # This file is part of the OpenADK project. OpenADK is copyrighted
  2. # material, please see the LICENCE file in the top-level directory.
  3. include $(ADK_TOPDIR)/rules.mk
  4. PKG_NAME:= midori
  5. PKG_VERSION:= 0.5.8
  6. PKG_RELEASE:= 1
  7. PKG_HASH:= 2fe13e17c310a2277c52e4fad932614963410305d10a48df0f0c5d210ebd51c5
  8. PKG_DESCR:= graphical web browser
  9. PKG_SECTION:= x11/apps
  10. PKG_DEPENDS:= libnotify webkitgtk
  11. PKG_BUILDDEP:= cmake-host vala-host libnotify webkitgtk
  12. PKG_BUILDDEP+= librsvg-host librsvg
  13. PKG_URL:= http://www.midori-browser.org
  14. PKG_SITES:= http://www.openadk.org/distfiles/
  15. PKG_CFLINE_MIDORI:= depends on ADK_BROKEN
  16. WRKBUILD= ${WRKDIR}/${PKG_NAME}-obj
  17. include $(ADK_TOPDIR)/mk/package.mk
  18. $(eval $(call PKG_template,MIDORI,midori,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  19. CONFIG_STYLE:= manual
  20. do-configure:
  21. (cd $(WRKBUILD) && PATH='${HOST_PATH}' \
  22. cmake -DCMAKE_SYSTEM_NAME=Linux \
  23. -DCMAKE_INSTALL_PREFIX=/usr \
  24. -DENABLE_NLS=0 \
  25. -DUSE_ZEITGEIST=0 \
  26. $(WRKSRC)/)
  27. midori-install:
  28. $(INSTALL_DIR) $(IDIR_MIDORI)/usr/bin
  29. $(INSTALL_BIN) $(WRKINST)/usr/bin/midori \
  30. $(IDIR_MIDORI)/usr/bin
  31. include ${ADK_TOPDIR}/mk/pkg-bottom.mk