fswebcam: import from old packages feed
authorNicolas Thill <redacted>
Wed, 20 Aug 2014 12:58:10 +0000 (14:58 +0200)
committerNicolas Thill <redacted>
Thu, 21 Aug 2014 17:00:20 +0000 (19:00 +0200)
 - update to latest version (v20140113)
 - add license info
 - add myself as maintainer

Signed-off-by: Nicolas Thill <redacted>
multimedia/fswebcam/Makefile [new file with mode: 0644]

diff --git a/multimedia/fswebcam/Makefile b/multimedia/fswebcam/Makefile
new file mode 100644 (file)
index 0000000..edb46be
--- /dev/null
@@ -0,0 +1,50 @@
+#
+# Copyright (C) 2010-2014 OpenWrt.org
+#
+# This is free software, licensed under the GNU General Public License v2.
+# See /LICENSE for more information.
+#
+
+include $(TOPDIR)/rules.mk
+
+PKG_NAME:=fswebcam
+PKG_VERSION:=20140113
+PKG_RELEASE:=1
+
+PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz
+PKG_SOURCE_URL:=http://www.firestorm.cx/fswebcam/files \
+       http://www.sanslogic.co.uk/fswebcam/files
+PKG_MD5SUM:=1bfdb21904e816f100370ec8f4df986b
+
+PKG_LICENSE:=GPL-2.0
+PKG_LICENSE_FILE:=LICENCE
+PKG_MAINTAINER:=Nicolas Thill <nico@openwrt.org>
+
+PKG_INSTALL:=1
+
+include $(INCLUDE_DIR)/package.mk
+
+define Package/fswebcam
+  SECTION:=multimedia
+  CATEGORY:=Multimedia
+  TITLE:=fswebcam
+  URL:=http://www.sanslogic.co.uk/fswebcam/
+  DEPENDS:=+libgd
+endef
+
+define Package/fswebcam/description
+  fswebcam is a neat and simple webcam app. It captures images from a V4L1/V4L2 compatible
+  device or file, averages them to reduce noise and draws a caption using the GD Graphics
+  Library which also handles compressing the image to PNG or JPEG. The resulting image
+  is saved to a file or sent to stdio where it can be piped to something like ncftpput or scp.
+endef
+
+EXTRA_CFLAGS+= $(TARGET_CPPFLAGS)
+EXTRA_LDFLAGS+= $(TARGET_LDFLAGS) -Wl,-rpath-link,$(STAGING_DIR)/usr/lib
+
+define Package/fswebcam/install
+       $(INSTALL_DIR) $(1)/usr/bin
+       $(CP) $(PKG_INSTALL_DIR)/usr/bin/fswebcam $(1)/usr/bin/
+endef
+
+$(eval $(call BuildPackage,fswebcam))
git clone https://git.99rst.org/PROJECT