iputils: bump to 20240905
[feed/packages.git] / multimedia / fswebcam / Makefile
1 #
2 # Copyright (C) 2010-2014 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:=fswebcam
11 PKG_VERSION:=20200725
12 PKG_RELEASE:=1
13
14 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz
15 PKG_SOURCE_URL:=http://www.sanslogic.co.uk/fswebcam/files
16 PKG_HASH:=cff0cbd91457133847e40944db3ee0b6f81d06506cef260687bde8348c8a0ce4
17
18 PKG_LICENSE:=GPL-2.0
19 PKG_LICENSE_FILES:=LICENCE
20 PKG_MAINTAINER:=Nicolas Thill <nico@openwrt.org>
21
22 PKG_INSTALL:=1
23
24 include $(INCLUDE_DIR)/package.mk
25
26 define Package/fswebcam
27 SECTION:=multimedia
28 CATEGORY:=Multimedia
29 TITLE:=fswebcam
30 URL:=http://www.sanslogic.co.uk/fswebcam/
31 DEPENDS:=+libgd
32 endef
33
34 define Package/fswebcam/description
35 fswebcam is a neat and simple webcam app. It captures images from a V4L1/V4L2 compatible
36 device or file, averages them to reduce noise and draws a caption using the GD Graphics
37 Library which also handles compressing the image to PNG or JPEG. The resulting image
38 is saved to a file or sent to stdio where it can be piped to something like ncftpput or scp.
39 endef
40
41 EXTRA_CFLAGS+= $(TARGET_CPPFLAGS)
42 EXTRA_LDFLAGS+= $(TARGET_LDFLAGS)
43
44 define Package/fswebcam/install
45 $(INSTALL_DIR) $(1)/usr/bin
46 $(CP) $(PKG_INSTALL_DIR)/usr/bin/fswebcam $(1)/usr/bin/
47 endef
48
49 $(eval $(call BuildPackage,fswebcam))