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.

49 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. PKG_BUILD_PARALLEL:=1
  19. include $(INCLUDE_DIR)/package.mk
  20. include $(INCLUDE_DIR)/cmake.mk
  21. include $(INCLUDE_DIR)/nls.mk
  22. define Package/uvcdynctrl
  23. SECTION:=utils
  24. CATEGORY:=Utilities
  25. DEPENDS:=+libxml2 $(ICONV_DEPENDS)
  26. TITLE:=Manage dynamic controls in uvcvideo
  27. URL:=https://sourceforge.net/projects/libwebcam/
  28. MENU:=1
  29. endef
  30. define Package/uvcdynctrl/description
  31. The webcam-tools package contains the following two components:
  32. - libwebcam: Webcam Library (LGPL)
  33. - uvcdynctrl: Manage dynamic controls in uvcvideo (GPL)
  34. endef
  35. define Package/uvcdynctrl/install
  36. $(INSTALL_DIR) $(1)/usr/{bin,share}
  37. $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/uvcdynctrl* $(1)/usr/bin/
  38. $(CP) $(PKG_INSTALL_DIR)/usr/share/uvcdynctrl/ $(1)/usr/share/
  39. endef
  40. $(eval $(call BuildPackage,uvcdynctrl))