Makefile 1.4 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. # always use tab spaces as separator, no spaces
  5. PKG_NAME:= ajstarks-openvg
  6. PKG_VERSION:= a236978e8009c948083bd15b201d8f4ceb3c035d
  7. PKG_GIT:= hash
  8. PKG_RELEASE:= 2
  9. PKG_DESCR:= openvg utility library
  10. PKG_BUILDDEP:= bcm28xx-vc freetype libjpeg-turbo
  11. PKG_SECTION:= libs/video
  12. PKG_DEPENDS:= bcm28xx-vc bcm28xx-vc-libs libfreetype libjpeg-turbo
  13. PKG_URL:= https://github.com/ajstarks/openvg
  14. PKG_SITES:= https://github.com/ajstarks/openvg.git
  15. PKG_SYSTEM_DEPENDS:= raspberry-pi raspberry-pi2 raspberry-pi3 raspberry-pi3-64
  16. include $(ADK_TOPDIR)/mk/package.mk
  17. $(eval $(call PKG_template,AJSTARKS_OPENVG,ajstarks-openvg,$(PKG_VERSION)-$(PKG_RELEASE),$(PKG_DEPENDS),$(PKG_DESCR),$(PKG_SECTION)))
  18. CONFIG_STYLE:= manual
  19. BUILD_STYLE:= manual
  20. INSTALL_STYLE:= manual
  21. do-build:
  22. ${MAKE} -C ${WRKBUILD} library
  23. # please install all files and directories to the package dir
  24. ajstarks-openvg-install:
  25. $(INSTALL_DIR) $(IDIR_AJSTARKS_OPENVG)/usr/lib
  26. $(INSTALL_BIN) $(WRKBUILD)/lib*.so \
  27. $(IDIR_AJSTARKS_OPENVG)/usr/lib
  28. ${INSTALL_DIR} $(STAGING_TARGET_DIR)/usr/include
  29. $(CP) $(WRKBUILD)/shapes.h $(STAGING_TARGET_DIR)/usr/include
  30. $(CP) $(WRKBUILD)/fontinfo.h $(STAGING_TARGET_DIR)/usr/include
  31. # please remove ALL above comments, before commiting
  32. include $(ADK_TOPDIR)/mk/pkg-bottom.mk