[package] update gstreamer to 0.10.25 (#6301)
[openwrt/svn-archive/archive.git] / multimedia / nw802-2.4 / Makefile
1 #
2 # Copyright (C) 2006-2008 OpenWrt.org
3 #
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
6 #
7
8 include $(TOPDIR)/rules.mk
9 include $(INCLUDE_DIR)/kernel.mk
10
11 PKG_NAME:=nw802-2.4
12 PKG_VERSION:=0.0.99
13 PKG_RELEASE:=1
14
15 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
16 PKG_SOURCE_URL:=@SF/nw802
17 PKG_MD5SUM:=bf3512efaa48cfa972b16318011c1963
18
19 include $(INCLUDE_DIR)/package.mk
20
21 define KernelPackage/video-nw8xx
22 SUBMENU:=Video Support
23 TITLE:=NW8xx based USB webcam support
24 URL:=http://nw802.sourceforge.net/
25 DEPENDS:=@LINUX_2_6_25||LINUX_2_6_27||LINUX_2_6_28 @USB_SUPPORT +kmod-usb-video +kmod-video-core
26 FILES:=$(PKG_BUILD_DIR)/nw8xx.$(LINUX_KMOD_SUFFIX)
27 AUTOLOAD:=$(call AutoLoad,70,nw8xx)
28 endef
29
30 define KernelPackage/video-nw8xx/description
31 Kernel support for NW8xx based USB cameras.
32 endef
33
34 define Build/Compile
35 ln -sf $(LINUX_DIR)/drivers/media/video/usbvideo/usbvideo.h \
36 $(PKG_BUILD_DIR)/
37 $(MAKE) -C $(LINUX_DIR) \
38 ARCH="$(LINUX_KARCH)" \
39 CROSS_COMPILE="$(TARGET_CROSS)" \
40 SUBDIRS="$(PKG_BUILD_DIR)" \
41 modules
42 endef
43
44 $(eval $(call KernelPackage,video-nw8xx))