From e3e2997fd5643a9ff2de47328f1ef2658dc8bb1b Mon Sep 17 00:00:00 2001 From: florian Date: Thu, 26 Jul 2007 09:11:48 +0000 Subject: [PATCH] Add uvc-streamer (#2120) git-svn-id: svn://svn.openwrt.org/openwrt/packages@8168 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- multimedia/uvc-streamer/Makefile | 44 ++++++++++++++++++++++++++++++++ 1 file changed, 44 insertions(+) create mode 100644 multimedia/uvc-streamer/Makefile diff --git a/multimedia/uvc-streamer/Makefile b/multimedia/uvc-streamer/Makefile new file mode 100644 index 000000000..e0d917c8a --- /dev/null +++ b/multimedia/uvc-streamer/Makefile @@ -0,0 +1,44 @@ +# +# Copyright (C) 2007 OpenWrt.org +# +# This is free software, licensed under the GNU General Public License v2. +# See /LICENSE for more information. +# +# $Id$ + +include $(TOPDIR)/rules.mk + +PKG_NAME:=uvc-streamer +PKG_VERSION:=1 +PKG_RELEASE:=1 + +PKG_SOURCE:=uvc_streamer_2007_07_21_14.07.06.tgz +PKG_SOURCE_URL:=http://naaa.de/programme/uvc_streamer/ +PKG_MD5SUM:=491473a25882c3e7250aeeb68e0ca689 + +PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME) + +include $(INCLUDE_DIR)/package.mk + +define Package/uvc-streamer + SECTION:=utils + CATEGORY:=Utilities + TITLE:=Linux-UVC streaming applicaton + DEPENDS:=+libpthread + DESCRIPTION:=\ + This package contains a streaming daemon for Linux-UVC based webcams + URL:=http://www.naaa.de/uvc_streamer +endef + +MAKE_FLAGS += \ + -C $(PKG_BUILD_DIR) \ + CFLAGS="$(TARGET_CFLAGS)" \ + CC="$(TARGET_CC)" \ + all + +define Package/uvc-streamer/install + $(INSTALL_DIR) $(1)/sbin + $(INSTALL_BIN) $(PKG_BUILD_DIR)/uvc_stream $(1)/sbin +endef + +$(eval $(call BuildPackage,uvc-streamer))