e0d917c8aee7b95cb58719341d48c8661f5740e1
[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 # $Id$
8
9 include $(TOPDIR)/rules.mk
10
11 PKG_NAME:=uvc-streamer
12 PKG_VERSION:=1
13 PKG_RELEASE:=1
14
15 PKG_SOURCE:=uvc_streamer_2007_07_21_14.07.06.tgz
16 PKG_SOURCE_URL:=http://naaa.de/programme/uvc_streamer/
17 PKG_MD5SUM:=491473a25882c3e7250aeeb68e0ca689
18
19 PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)
20
21 include $(INCLUDE_DIR)/package.mk
22
23 define Package/uvc-streamer
24 SECTION:=utils
25 CATEGORY:=Utilities
26 TITLE:=Linux-UVC streaming applicaton
27 DEPENDS:=+libpthread
28 DESCRIPTION:=\
29 This package contains a streaming daemon for Linux-UVC based webcams
30 URL:=http://www.naaa.de/uvc_streamer
31 endef
32
33 MAKE_FLAGS += \
34 -C $(PKG_BUILD_DIR) \
35 CFLAGS="$(TARGET_CFLAGS)" \
36 CC="$(TARGET_CC)" \
37 all
38
39 define Package/uvc-streamer/install
40 $(INSTALL_DIR) $(1)/sbin
41 $(INSTALL_BIN) $(PKG_BUILD_DIR)/uvc_stream $(1)/sbin
42 endef
43
44 $(eval $(call BuildPackage,uvc-streamer))