|
|
@ -1,7 +1,4 @@ |
|
|
|
#
|
|
|
|
# Copyright (C) 2009-2015 OpenWrt.org
|
|
|
|
# Copyright (C) 2009 David Cooper <dave@kupesoft.com>
|
|
|
|
#
|
|
|
|
# This is free software, licensed under the GNU General Public License v2.
|
|
|
|
# See /LICENSE for more information.
|
|
|
|
#
|
|
|
@ -9,12 +6,12 @@ |
|
|
|
include $(TOPDIR)/rules.mk |
|
|
|
|
|
|
|
PKG_NAME:=v4l-utils |
|
|
|
PKG_VERSION:=1.10.0 |
|
|
|
PKG_VERSION:=1.14.2 |
|
|
|
PKG_RELEASE:=1 |
|
|
|
|
|
|
|
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2 |
|
|
|
PKG_SOURCE_URL:=http://www.linuxtv.org/downloads/v4l-utils |
|
|
|
PKG_HASH:=78ead27ee58a701d7c6342303cf4520bdd4a2b88a7813bc99a0b389307e4336b |
|
|
|
PKG_SOURCE_URL:=https://www.linuxtv.org/downloads/v4l-utils |
|
|
|
PKG_HASH:=e6b962c4b1253cf852c31da13fd6b5bb7cbe5aa9e182881aec55123bae680692 |
|
|
|
|
|
|
|
PKG_MAINTAINER:=Ted Hess <thess@kitschensync.net> |
|
|
|
|
|
|
@ -89,14 +86,14 @@ define Build/InstallDev |
|
|
|
$(INSTALL_DIR) $(1)/usr/include |
|
|
|
$(CP) $(PKG_INSTALL_DIR)/usr/include/*.h $(1)/usr/include/ |
|
|
|
$(INSTALL_DIR) $(1)/usr/lib |
|
|
|
$(CP) $(PKG_INSTALL_DIR)/usr/lib/libv4l{1,2,convert}.{a,so*} $(1)/usr/lib/ |
|
|
|
$(CP) $(PKG_INSTALL_DIR)/usr/lib/libv4l{1,2,convert,2rds}.{a,so*} $(1)/usr/lib/ |
|
|
|
$(INSTALL_DIR) $(1)/usr/lib/pkgconfig |
|
|
|
$(CP) $(PKG_INSTALL_DIR)/usr/lib/pkgconfig/libv4l{1,2,convert}.pc $(1)/usr/lib/pkgconfig/ |
|
|
|
$(CP) $(PKG_INSTALL_DIR)/usr/lib/pkgconfig/libv4l{1,2,convert,2rds}.pc $(1)/usr/lib/pkgconfig/ |
|
|
|
endef |
|
|
|
|
|
|
|
define Package/libv4l/install |
|
|
|
$(INSTALL_DIR) $(1)/usr/lib |
|
|
|
$(CP) $(PKG_INSTALL_DIR)/usr/lib/libv4l{1,2,convert}.so.* $(1)/usr/lib/ |
|
|
|
$(CP) $(PKG_INSTALL_DIR)/usr/lib/libv4l{1,2,convert,2rds}.so.* $(1)/usr/lib/ |
|
|
|
$(INSTALL_DIR) $(1)/usr/lib/libv4l |
|
|
|
$(CP) $(PKG_INSTALL_DIR)/usr/lib/libv4l/v4l{1compat,2convert}.so $(1)/usr/lib/libv4l/ |
|
|
|
endef |
|
|
@ -106,10 +103,11 @@ define Package/v4l-utils/install |
|
|
|
$(CP) $(PKG_INSTALL_DIR)/etc/rc_maps.cfg $(1)/etc/ |
|
|
|
$(CP) $(PKG_INSTALL_DIR)/etc/rc_keymaps $(1)/etc/ |
|
|
|
$(INSTALL_DIR) $(1)/usr/bin |
|
|
|
$(CP) $(PKG_INSTALL_DIR)/usr/bin/{cx18,ivtv}-ctl $(1)/usr/bin/ |
|
|
|
$(CP) $(PKG_INSTALL_DIR)/usr/bin/{rds,media,cx18,ivtv}-ctl $(1)/usr/bin/ |
|
|
|
$(CP) $(PKG_INSTALL_DIR)/usr/bin/decode_tm6000 $(1)/usr/bin/ |
|
|
|
$(CP) $(PKG_INSTALL_DIR)/usr/bin/ir-keytable $(1)/usr/bin/ |
|
|
|
$(CP) $(PKG_INSTALL_DIR)/usr/bin/ir-{ctl,keytable} $(1)/usr/bin/ |
|
|
|
$(CP) $(PKG_INSTALL_DIR)/usr/bin/v4l2-{compliance,ctl,sysfs-path} $(1)/usr/bin/ |
|
|
|
$(CP) $(PKG_INSTALL_DIR)/usr/bin/cec-{compliance,ctl,follower} $(1)/usr/bin/ |
|
|
|
endef |
|
|
|
|
|
|
|
$(eval $(call BuildPackage,libv4l)) |
|
|
|