sorry, last commit had a bug
[openwrt.git] / package / spca5xx / Makefile
1 #
2 # Copyright (C) 2006 OpenWrt.org
3 #
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
6 #
7 # $Id$
8
9 include $(TOPDIR)/rules.mk
10 include $(INCLUDE_DIR)/kernel.mk
11
12 PKG_NAME:=gspcav1
13 PKG_VERSION:=20070110
14 PKG_RELEASE:=1
15
16 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
17 PKG_SOURCE_URL:=http://mxhaard.free.fr/spca50x/Download
18 PKG_MD5SUM:=1e3fa004490a07b7b76de03d70b3e8ea
19 PKG_CAT:=zcat
20
21 PKG_BUILD_DIR:=$(KERNEL_BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
22
23 include $(INCLUDE_DIR)/package.mk
24
25 define KernelPackage/gspca
26 SUBMENU:=Other modules
27 DEPENDS:=@LINUX_2_6 kmod-usb-core kmod-videodev @VIDEO_SUPPORT
28 TITLE:=Driver for SPCA5xx based USB cameras
29 URL:=http://mxhaard.free.fr/
30 VERSION:=$(LINUX_VERSION)+$(PKG_VERSION)-$(BOARD)-$(PKG_RELEASE)
31 FILES:=$(PKG_BUILD_DIR)/gspca.$(LINUX_KMOD_SUFFIX)
32 AUTOLOAD:=$(call AutoLoad,90,gspca)
33 endef
34
35 define Build/Compile
36 $(MAKE) -C $(LINUX_DIR) \
37 ARCH="$(LINUX_KARCH)" \
38 CROSS_COMPILE="$(TARGET_CROSS)" \
39 KERNELVERSION="$(KERNEL)" \
40 KERNEL_VERSION="$(LINUX_VERSION)" \
41 KERNELDIR="$(LINUX_DIR)" \
42 SUBDIRS="$(PKG_BUILD_DIR)" \
43 modules
44 endef
45
46 $(eval $(call KernelPackage,gspca))
This page took 0.04323 seconds and 5 git commands to generate.