fswebcam: new package
authorLucas De Marchi <lucas.de.marchi@gmail.com>
Sat, 28 Dec 2013 13:00:39 +0000 (11:00 -0200)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Sat, 28 Dec 2013 16:19:46 +0000 (17:19 +0100)
[Thomas:
 - use the autotools-package infrastructure, since the package uses an
   autoconf configure script.
 - remove uninstall and clean commands since those are no longer
   supported by Buildroot.
 - rewrap the help text.
 - order alphabetically the package in package/Config.in]

Signed-off-by: Lucas De Marchi <lucas.de.marchi@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/Config.in
package/fswebcam/Config.in [new file with mode: 0644]
package/fswebcam/fswebcam.mk [new file with mode: 0644]

index 43a8ed58a0ef6a40a93445557bb1b5cc439fe332..429b51935e5af0b9ab4a005bb6a9e0c81db567b4 100644 (file)
@@ -164,6 +164,7 @@ endmenu
 menu "Graphic libraries and applications (graphic/text)"
 
 comment "Graphic applications"
+source "package/fswebcam/Config.in"
 source "package/gnuplot/Config.in"
 source "package/jhead/Config.in"
 source "package/rrdtool/Config.in"
diff --git a/package/fswebcam/Config.in b/package/fswebcam/Config.in
new file mode 100644 (file)
index 0000000..7724639
--- /dev/null
@@ -0,0 +1,16 @@
+config BR2_PACKAGE_FSWEBCAM
+       bool "fswebcam"
+       select BR2_PACKAGE_GD
+       select BR2_PACKAGE_FREETYPE
+       select BR2_PACKAGE_JPEG
+       select BR2_PACKAGE_LIBPNG
+       help
+         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.
+
+         http://www.firestorm.cx/fswebcam/
diff --git a/package/fswebcam/fswebcam.mk b/package/fswebcam/fswebcam.mk
new file mode 100644 (file)
index 0000000..2275fb5
--- /dev/null
@@ -0,0 +1,14 @@
+################################################################################
+#
+# fswebcam
+#
+################################################################################
+
+FSWEBCAM_VERSION = 20110717
+FSWEBCAM_SITE = http://www.firestorm.cx/fswebcam/files/
+FSWEBCAM_LICENSE = GPLv2
+FSWEBCAM_LICENSE_FILES = LICENSE
+
+FSWEBCAM_DEPENDENCIES += freetype jpeg libpng gd
+
+$(eval $(autotools-package))