source: packages/multimedia/fswebcam/Makefile @ 22635

Last change on this file since 22635 was 22635, checked in by agb, 6 years ago

[packages] multimedia/fswebcam: update website/source urls

File size: 1.3 KB
Line 
1#
2# Copyright (C) 2010 OpenWrt.org
3#
4# This is free software, licensed under the GNU General Public License v2.
5# See /LICENSE for more information.
6#
7
8include $(TOPDIR)/rules.mk
9
10PKG_NAME:=fswebcam
11PKG_VERSION:=20100405
12PKG_RELEASE:=1
13
14PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
15PKG_SOURCE_URL:=http://www.sanslogic.co.uk/fswebcam/files/
16PKG_MD5SUM:=1ca864c8cef096fb4ace71cf14085424
17
18PKG_INSTALL:=1
19
20include $(INCLUDE_DIR)/package.mk
21
22define Package/fswebcam
23  SECTION:=multimedia
24  CATEGORY:=Multimedia
25  TITLE:=fswebcam
26  URL:=http://www.sanslogic.co.uk/fswebcam/
27  DEPENDS:= @!LINUX_2_4 +libgd
28endef
29
30define Package/fswebcam/description
31  fswebcam is a neat and simple webcam app. It captures images from a V4L1/V4L2 compatible
32  device or file, averages them to reduce noise and draws a caption using the GD Graphics
33  Library which also handles compressing the image to PNG or JPEG. The resulting image
34  is saved to a file or sent to stdio where it can be piped to something like ncftpput or scp.
35endef
36
37EXTRA_CFLAGS+= $(TARGET_CPPFLAGS)
38EXTRA_LDFLAGS+= $(TARGET_LDFLAGS) -Wl,-rpath-link,$(STAGING_DIR)/usr/lib
39
40define Package/fswebcam/install
41        $(INSTALL_DIR) $(1)/usr/bin
42        $(CP) $(PKG_INSTALL_DIR)/usr/bin/fswebcam $(1)/usr/bin/
43endef
44
45$(eval $(call BuildPackage,fswebcam))
Note: See TracBrowser for help on using the repository browser.