[packages] rename external uvc driver to video-uvc-obsolete (#4637, thanks moh_de)
[openwrt/svn-archive/archive.git] / multimedia / linux-uvc / Makefile
index bfad749..942e233 100644 (file)
@@ -1,5 +1,5 @@
-# 
-# Copyright (C) 2007 OpenWrt.org
+#
+# Copyright (C) 2007-2008 OpenWrt.org
 #
 # This is free software, licensed under the GNU General Public License v2.
 # See /LICENSE for more information.
@@ -10,7 +10,7 @@ include $(TOPDIR)/rules.mk
 include $(INCLUDE_DIR)/kernel.mk
 
 PKG_NAME:=linux-uvc
-PKG_REV:=244
+PKG_REV:=261
 PKG_VERSION:=r$(PKG_REV)
 PKG_RELEASE:=1
 
@@ -22,11 +22,11 @@ PKG_SOURCE_PROTO:=svn
 
 include $(INCLUDE_DIR)/package.mk
 
-define KernelPackage/video-uvc
+define KernelPackage/video-uvc-obsolete
   SUBMENU:=Video Support
-  TITLE:=USB Video Class (UVC) support
+  TITLE:=USB Video Class (UVC) support (obsolete)
   URL:=http://linux-uvc.berlios.de/
-  DEPENDS:=@LINUX_2_6 @USB_SUPPORT +kmod-usb-core kmod-video-core
+  DEPENDS:=@LINUX_2_6_23||LINUX_2_6_24||LINUX_2_6_25 @USB_SUPPORT +kmod-usb-core +kmod-video-core
   FILES:=$(PKG_BUILD_DIR)/uvcvideo.$(LINUX_KMOD_SUFFIX)
   AUTOLOAD:=$(call AutoLoad,90,uvcvideo)
 endef
@@ -40,4 +40,4 @@ define Build/Compile
                modules
 endef
 
-$(eval $(call KernelPackage,video-uvc))
+$(eval $(call KernelPackage,video-uvc-obsolete))