Makefile 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  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:= cog
  5. PKG_VERSION:= 0.18.4
  6. PKG_RELEASE:= 1
  7. PKG_HASH:= 31d7079db2eeed790899d2f1f824dd6a54bf30d072d196d737be572f105d99b1
  8. PKG_DESCR:= minimalistic browser
  9. PKG_SECTION:= app/browser
  10. PKG_DEPENDS:= wpewebkit wpebackend-fdo libinput
  11. PKG_BUILDDEP:= wpewebkit wpebackend-fdo libinput
  12. PKG_URL:= https://wpewebkit.org
  13. PKG_SITES:= https://wpewebkit.org/releases/
  14. include $(ADK_TOPDIR)/mk/package.mk
  15. $(eval $(call PKG_template,COG,cog,$(PKG_VERSION)-$(PKG_RELEASE),$(PKG_DEPENDS),$(PKG_DESCR),$(PKG_SECTION)))
  16. WRKBUILD= $(WRKDIR)/$(PKG_NAME)-obj
  17. MESON_FLAGS+= -Ddocumentation=false \
  18. -Dmanpages=false \
  19. -Dprograms=true \
  20. -Dwpe_api=2.0 \
  21. -Dplatforms="wayland"
  22. CONFIG_STYLE:= meson
  23. BUILD_STYLE:= meson
  24. INSTALL_STYLE:= meson
  25. cog-install:
  26. $(INSTALL_DIR) $(IDIR_COG)/usr/lib
  27. $(CP) $(WRKINST)/usr/lib/libcogcore.so* \
  28. $(IDIR_COG)/usr/lib
  29. $(INSTALL_DIR) $(IDIR_COG)/usr/lib/cog/modules
  30. $(CP) $(WRKINST)/usr/lib/cog/modules/* \
  31. $(IDIR_COG)/usr/lib/cog/modules
  32. $(INSTALL_DIR) $(IDIR_COG)/usr/bin
  33. $(INSTALL_BIN) $(WRKINST)/usr/bin/cog \
  34. $(IDIR_COG)/usr/bin
  35. include $(ADK_TOPDIR)/mk/pkg-bottom.mk