check for + in the broadcast address before attempting a dns lookup
[openwrt.git] / package / spca5xx-view / 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: Makefile 7006 2007-04-19 12:06:39Z kaloz $
8
9 include $(TOPDIR)/rules.mk
10
11 PKG_NAME:=spca5xx-view
12 PKG_VERSION:=1
13 PKG_RELEASE:=1
14
15 PKG_SOURCE:=spca5xx-view.tar.bz2
16 PKG_SOURCE_URL:=http://www.acmesystems.it/download/owrt
17 PKG_MD5SUM:=
18
19 PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)
20
21 include $(INCLUDE_DIR)/package.mk
22
23 define Package/spca5xx-view
24 SECTION:=utils
25 CATEGORY:=Utilities
26 TITLE:=spca5xx streaming applicaton
27 DEPENDS:=+kmod-spca5xx-le +libpthread
28 DESCRIPTION:=\
29 This package contains a streaming daemon for spca5xx based webcams
30 URL:=http://www.acmesystems.it
31 endef
32
33 define Build/Compile
34 $(MAKE) -C $(PKG_BUILD_DIR)/servfox/ CFLAGS="$(TARTGET_CFLAGS)" CC="$(TARGET_CC)" all
35 $(MAKE) -C $(PKG_BUILD_DIR)/servfox/ PREFIX="$(PKG_INSTALL_DIR)" install
36 endef
37
38 define Package/spca5xx-view/install
39 $(INSTALL_DIR) $(1)/
40 $(CP) $(PKG_INSTALL_DIR)/* $(1)
41 $(INSTALL_DIR) $(1)/www/
42 $(CP) $(PKG_BUILD_DIR)/html-files/* $(1)/www/
43 $(INSTALL_DIR) $(1)/etc/config
44 $(INSTALL_DATA) ./files/servfox.config $(1)/etc/config/servfox
45 $(INSTALL_DIR) $(1)/etc/init.d
46 $(INSTALL_BIN) ./files/servfox.init $(1)/etc/init.d/servfox
47 endef
48
49 $(eval $(call BuildPackage,spca5xx-view))
This page took 0.044232 seconds and 5 git commands to generate.