[packages] Xorg/apps/xdm: add missing libX11 libXmu libXau and libXaw deps
[openwrt/svn-archive/archive.git] / multimedia / uvc-streamer / Makefile
1 #
2 # Copyright (C) 2007 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
10 PKG_NAME:=uvc-streamer
11 PKG_VERSION:=1
12 PKG_RELEASE:=1
13
14 PKG_SOURCE:=uvc_streamer_2007_07_21_14.07.06.tgz
15 PKG_SOURCE_URL:=http://naaa.de/programme/uvc_streamer/
16 PKG_MD5SUM:=491473a25882c3e7250aeeb68e0ca689
17
18 PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)
19
20 include $(INCLUDE_DIR)/package.mk
21
22 define Package/uvc-streamer
23 SECTION:=utils
24 CATEGORY:=Utilities
25 TITLE:=Linux-UVC streaming applicaton
26 DEPENDS:=@LINUX_2_6 +libpthread
27 URL:=http://www.naaa.de/uvc_streamer
28 endef
29
30 define Package/uvc-streamer/description
31 This package contains a streaming daemon for Linux-UVC based webcams
32 endef
33
34 MAKE_FLAGS += \
35 -C $(PKG_BUILD_DIR) \
36 CFLAGS="$(TARGET_CFLAGS)" \
37 CC="$(TARGET_CC)" \
38 all
39
40 define Package/uvc-streamer/install
41 $(INSTALL_DIR) $(1)/sbin
42 $(INSTALL_BIN) $(PKG_BUILD_DIR)/uvc_stream $(1)/sbin/uvc_streamer
43 $(INSTALL_DIR) $(1)/etc/config
44 $(INSTALL_DATA) ./files/$(PKG_NAME).config $(1)/etc/config/$(PKG_NAME)
45 $(INSTALL_DIR) $(1)/etc/init.d
46 $(INSTALL_BIN) ./files/$(PKG_NAME).init $(1)/etc/init.d/$(PKG_NAME)
47 endef
48
49 $(eval $(call BuildPackage,uvc-streamer))