add conffiles to iptables
[openwrt.git] / package / spca5xx / Makefile
1 # $Id$
2
3 include $(TOPDIR)/rules.mk
4 include $(TOPDIR)/package/kernel.mk
5
6 PKG_NAME:=spca5xx
7 PKG_VERSION:=20060301
8 PKG_RELEASE:=1
9 PKG_MD5SUM:=4160e03c408ac254111febacf058b88a
10
11 PKG_SOURCE_URL:=http://mxhaard.free.fr/spca50x/Download/
12 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
13 PKG_CAT:=zcat
14
15 PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
16
17 include $(TOPDIR)/package/rules.mk
18
19 #FIXME: add proper dependency handling on kmod-usb-core & kmod-videodev packages
20 define Package/kmod-spca5xx
21 SECTION:=drivers
22 CATEGORY:=Drivers
23 DEPENDS:=@PACKAGE_KMOD_USB&&PACKAGE_KMOD_VIDEODEV
24 TITLE:=Driver for SPCA5xx based USB cameras
25 DESCRIPTION:=Driver for SPCA5xx based USB cameras
26 URL:=http://mxhaard.free.fr/
27 VERSION:=$(LINUX_VERSION)+$(PKG_VERSION)-$(BOARD)-$(PKG_RELEASE)
28 endef
29
30 define Build/Compile
31 $(MAKE) -C $(LINUX_DIR) \
32 ARCH="$(LINUX_KARCH)" \
33 CROSS_COMPILE="$(TARGET_CROSS)" \
34 KERNELVERSION="$(KERNEL)" \
35 SUBDIRS="$(PKG_BUILD_DIR)" \
36 modules
37 endef
38
39 define Package/kmod-spca5xx/install
40 install -m0755 -d $(1)/lib/modules/$(LINUX_VERSION)
41 $(CP) $(PKG_BUILD_DIR)/spca5xx.$(LINUX_KMOD_SUFFIX) \
42 $(1)/lib/modules/$(LINUX_VERSION)/
43 endef
44
45 $(eval $(call BuildPackage,kmod-spca5xx))
This page took 0.039139 seconds and 5 git commands to generate.