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.

48 lines
1.3 KiB

  1. #
  2. # Copyright (C) 2013 OpenWrt.org
  3. #
  4. # This is free software, licensed under the GNU General Public License v2.
  5. # See /LICENSE for more information.
  6. #
  7. include $(TOPDIR)/rules.mk
  8. PKG_NAME:=uvcdynctrl
  9. PKG_VERSION:=0.2.5
  10. PKG_RELEASE:=3
  11. PKG_SOURCE:=libwebcam-src-$(PKG_VERSION).tar.gz
  12. PKG_SOURCE_URL:=@SF/libwebcam
  13. PKG_HASH:=3ca5199c7b8398b655a7c38e3ad4191bb053b1486503287f20d30d141bda9d41
  14. PKG_BUILD_DIR:=$(BUILD_DIR)/libwebcam-$(PKG_VERSION)
  15. PKG_MAINTAINER:=Roger D <rogerdammit@gmail.com>
  16. PKG_LICENSE:=GPL-3.0-or-later
  17. PKG_LICENSE_FILES:=uvcdynctrl/COPYING
  18. include $(INCLUDE_DIR)/package.mk
  19. include $(INCLUDE_DIR)/nls.mk
  20. include $(INCLUDE_DIR)/cmake.mk
  21. define Package/uvcdynctrl
  22. SECTION:=utils
  23. CATEGORY:=Utilities
  24. DEPENDS:=+libxml2 $(ICONV_DEPENDS)
  25. TITLE:=Manage dynamic controls in uvcvideo
  26. URL:=https://sourceforge.net/projects/libwebcam/
  27. MENU:=1
  28. endef
  29. define Package/uvcdynctrl/description
  30. The webcam-tools package contains the following two components:
  31. - libwebcam: Webcam Library (LGPL)
  32. - uvcdynctrl: Manage dynamic controls in uvcvideo (GPL)
  33. endef
  34. define Package/uvcdynctrl/install
  35. $(INSTALL_DIR) $(1)/usr/{bin,share}
  36. $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/uvcdynctrl* $(1)/usr/bin/
  37. $(CP) $(PKG_INSTALL_DIR)/usr/share/uvcdynctrl/ $(1)/usr/share/
  38. endef
  39. $(eval $(call BuildPackage,uvcdynctrl))