You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

36 lines
1010 B

  1. # This software is in the public domain, furnished "as is", without technical
  2. # support, and with no warranty, express or implied, as to its usefulness for
  3. # any purpose.
  4. include $(TOPDIR)/rules.mk
  5. PKG_NAME:=v4l2tools
  6. PKG_VERSION:=0.1.5
  7. PKG_RELEASE:=$(AUTORELEASE)
  8. PKG_SOURCE_PROTO:=git
  9. PKG_SOURCE_URL:=https://github.com/mpromonet/v4l2tools.git
  10. PKG_SOURCE_VERSION:=v$(PKG_VERSION)
  11. PKG_MIRROR_HASH:=af63df7f88c1031aa5a438d175d77ca9c976e48eb55ff78a6ff6d2bd7272ac51
  12. PKG_MAINTAINER:=Michel Promonet<michel.promonet@free.fr>
  13. PKG_LICENSE:=Unlicense
  14. PKG_LICENSE_FILES:=LICENCE
  15. include $(INCLUDE_DIR)/package.mk
  16. include $(INCLUDE_DIR)/cmake.mk
  17. define Package/v4l2tools
  18. SECTION:=multimedia
  19. CATEGORY:=Multimedia
  20. TITLE:=v4l2tools
  21. DEPENDS:=+libstdcpp +libjpeg
  22. URL:=https://github.com/mpromonet/v4l2tools
  23. endef
  24. define Package/v4l2tools/install
  25. $(INSTALL_DIR) $(1)/usr/bin
  26. $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/v4l2tools-$(PKG_VERSION) $(1)/usr/bin/v4l2tools
  27. endef
  28. $(eval $(call BuildPackage,v4l2tools))