Makefile 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839
  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 $(TOPDIR)/rules.mk
  4. PKG_NAME:= midori
  5. PKG_VERSION:= 0.5.8
  6. PKG_RELEASE:= 1
  7. PKG_MD5SUM:= 5815eac39f4d9511ce2c71a81567647f
  8. PKG_DESCR:= web browser
  9. PKG_SECTION:= x11/apps
  10. PKG_DEPENDS:= libnotify webkitgtk
  11. PKG_BUILDDEP:= autotool 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. WRKBUILD= ${WRKDIR}/${PKG_NAME}-obj
  16. include $(TOPDIR)/mk/package.mk
  17. $(eval $(call PKG_template,MIDORI,midori,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  18. CONFIG_STYLE:= manual
  19. do-configure:
  20. (cd $(WRKBUILD) && PATH='${HOST_PATH}' \
  21. cmake -DCMAKE_SYSTEM_NAME=Linux \
  22. -DCMAKE_INSTALL_PREFIX=/usr \
  23. -DENABLE_NLS=0 \
  24. -DUSE_ZEITGEIST=0 \
  25. $(WRKSRC)/)
  26. midori-install:
  27. $(INSTALL_DIR) $(IDIR_MIDORI)/usr/bin
  28. $(INSTALL_BIN) $(WRKINST)/usr/bin/midori \
  29. $(IDIR_MIDORI)/usr/bin
  30. include ${TOPDIR}/mk/pkg-bottom.mk