[package] strip down gstreamer, package more modules (#6320)
[openwrt/svn-archive/archive.git] / multimedia / spca5xx-le / 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
8 include $(TOPDIR)/rules.mk
9 include $(INCLUDE_DIR)/kernel.mk
10
11 PKG_NAME:=spca5xx-le
12 PKG_VERSION:=1
13 PKG_RELEASE:=1
14
15 PKG_SOURCE:=$(PKG_NAME).tar.bz2
16 PKG_SOURCE_URL:=http://www.acmesystems.it/download/owrt/
17 PKG_MD5SUM:=
18
19 PKG_BUILD_DIR:=$(KERNEL_BUILD_DIR)/$(PKG_NAME)
20
21 include $(INCLUDE_DIR)/package.mk
22
23 define KernelPackage/video-spca5xx-le
24 SUBMENU:=Video Support
25 TITLE:=SPCA5xx based USB webcam support (Light Edition)
26 URL:=http://mxhaard.free.fr/
27 DEPENDS:=@LINUX_2_6_23||LINUX_2_6_24||LINUX_2_6_25 @USB_SUPPORT +kmod-usb-core +kmod-video-core
28 FILES:=$(PKG_BUILD_DIR)/spca5xx.$(LINUX_KMOD_SUFFIX)
29 AUTOLOAD:=$(call AutoLoad,90,spca5xx)
30 endef
31
32 define Build/Compile
33 $(MAKE) -C $(LINUX_DIR) \
34 ARCH="$(LINUX_KARCH)" \
35 CROSS_COMPILE="$(TARGET_CROSS)" \
36 SUBDIRS="$(PKG_BUILD_DIR)" \
37 modules
38 endef
39
40 $(eval $(call KernelPackage,video-spca5xx-le))