diff options
author | nbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2008-08-09 20:36:05 +0000 |
---|---|---|
committer | nbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2008-08-09 20:36:05 +0000 |
commit | 89695426e75da1a95cc1284c9e5ee8e02bce4b77 (patch) | |
tree | 6af3a7ac1a7c6812f8d4ea81da94ce90aa18d8a3 /package/ov51x-jpeg | |
parent | 53f304adaef212e03bd8bdbaf604c80666a468db (diff) |
move some webcam/sound related stuff from trunk to packages
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12260 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/ov51x-jpeg')
-rw-r--r-- | package/ov51x-jpeg/Makefile | 76 | ||||
-rw-r--r-- | package/ov51x-jpeg/patches/100-compile_fix.patch | 20 |
2 files changed, 0 insertions, 96 deletions
diff --git a/package/ov51x-jpeg/Makefile b/package/ov51x-jpeg/Makefile deleted file mode 100644 index 7bd06d9d66..0000000000 --- a/package/ov51x-jpeg/Makefile +++ /dev/null @@ -1,76 +0,0 @@ -# -# Copyright (C) 2007-2008 OpenWrt.org -# -# This is free software, licensed under the GNU General Public License v2. -# See /LICENSE for more information. -# -# $Id$ - -include $(TOPDIR)/rules.mk -include $(INCLUDE_DIR)/kernel.mk - -PKG_NAME:=ov51x-jpeg -PKG_VERSION:=1.5.7 -PKG_RELEASE:=1 - -PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz -PKG_SOURCE_URL:=http://www.rastageeks.org/downloads/ov51x-jpeg/ \ - http://www.rastageeks.org/downloads/ov51x-jpeg/old-releases/ -PKG_MD5SUM:=7de1f426a48bdb55218913e2d713f813 - -include $(INCLUDE_DIR)/package.mk - -define Package/ov51x-jpeg/Default - URL:=http://www.rastageeks.org/ov51x-jpeg/ -endef - -define Package/ov51x-jpeg-utils -$(call Package/ov51x-jpeg/Default) - SECTION:=utils - CATEGORY:=Utilities - TITLE:=OV51x based USB webcam utilities - DEPENDS:=+kmod-video-ov51x-jpeg -endef - -define Package/ov51x-jpeg-utils/description - Utility programs for the video-ov51x kernel module -endef - -define KernelPackage/video-ov51x-jpeg -$(call Package/ov51x-jpeg/Default) - SUBMENU:=Video Support - TITLE:=OV51x based USB webcam support (JPEG) - DEPENDS:=@LINUX_2_6 @USB_SUPPORT +kmod-usb-core kmod-video-core - FILES:=$(PKG_BUILD_DIR)/ov51x-jpeg.$(LINUX_KMOD_SUFFIX) - AUTOLOAD:=$(call AutoLoad,70,ov51x-jpeg) -endef - -define KernelPackage/video-ov51x-jpeg/description - Kernel module for OV51x based USB cameras, with in-driver JPEG support. -endef - -ifneq ($(CONFIG_PACKAGE_kmod-video-ov51x-jpeg),) - define Build/Compile/kmod - $(MAKE) -C $(LINUX_DIR) \ - ARCH="$(LINUX_KARCH)" \ - CROSS_COMPILE="$(TARGET_CROSS)" \ - SUBDIRS="$(PKG_BUILD_DIR)" \ - modules - endef -endif - -define Build/Compile - $(call Build/Compile/kmod) - $(MAKE) -C $(PKG_BUILD_DIR)/test \ - CFLAGS="$(TARGET_CFLAGS)" \ - CC="$(TARGET_CC)" \ - getjpeg -endef - -define Package/ov51x-jpeg-utils/install - $(INSTALL_DIR) $(1)/usr/bin - $(INSTALL_BIN) $(PKG_BUILD_DIR)/test/getjpeg $(1)/usr/bin/ -endef - -$(eval $(call BuildPackage,ov51x-jpeg-utils)) -$(eval $(call KernelPackage,video-ov51x-jpeg)) diff --git a/package/ov51x-jpeg/patches/100-compile_fix.patch b/package/ov51x-jpeg/patches/100-compile_fix.patch deleted file mode 100644 index 56bdf906e1..0000000000 --- a/package/ov51x-jpeg/patches/100-compile_fix.patch +++ /dev/null @@ -1,20 +0,0 @@ ---- a/ov51x-jpeg-core.c -+++ b/ov51x-jpeg-core.c -@@ -753,7 +753,7 @@ - * -claudio - */ - -- ov51x_jpeg_proc_entry = create_proc_entry("ov51x-jpeg", S_IFDIR, &proc_root); -+ ov51x_jpeg_proc_entry = create_proc_entry("ov51x-jpeg", S_IFDIR, NULL); - if (ov51x_jpeg_proc_entry) - ov51x_jpeg_proc_entry->owner = THIS_MODULE; - else -@@ -771,7 +771,7 @@ - - /* Destroy proc entry */ - PDEBUG(4, "destroying /proc/ov51x-jpeg"); -- remove_proc_entry("ov51x-jpeg", &proc_root); -+ remove_proc_entry("ov51x-jpeg", NULL); - ov51x_jpeg_proc_entry = NULL; - - } |