# HG changeset patch # User Hans-G?nter Theisgen # Date 1645955386 -3600 # Node ID d5468918986eab96a57ce6f2a4e6296701d89352 # Parent 4dc0492470768c4014a977a29e842910c1983c3a updated fswebcam (20140113 -> 20200725) diff -r 4dc049247076 -r d5468918986e fswebcam/description.txt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/fswebcam/description.txt Sun Feb 27 10:49:46 2022 +0100 @@ -0,0 +1,6 @@ +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. diff -r 4dc049247076 -r d5468918986e fswebcam/receipt --- a/fswebcam/receipt Sun Feb 27 10:36:21 2022 +0100 +++ b/fswebcam/receipt Sun Feb 27 10:49:46 2022 +0100 @@ -1,21 +1,24 @@ # SliTaz package receipt. PACKAGE="fswebcam" -VERSION="20140113" +VERSION="20200725" CATEGORY="misc" +TAGS="webcam" MAINTAINER="jozee@slitaz.org" LICENSE="GPL2" SHORT_DESC="Tiny and flexible webcam app" WEB_SITE="https://www.sanslogic.co.uk/fswebcam/" -CONFIG_FILES="etc/fswebcam.conf" + TARBALL="$PACKAGE-$VERSION.tar.xz" WGET_URL="$WEB_SITE/files/$TARBALL" -TAGS="webcam" -HOST_ARCH="i486" DEPENDS="libgd" BUILD_DEPENDS="libgd-dev" +CONFIG_FILES="etc/fswebcam.conf" + +HOST_ARCH="i486" + # What is the latest version available today? current_version() { @@ -26,15 +29,18 @@ # Rules to configure and make the package. compile_rules() { - ./configure \ - --prefix=/usr $CONFIGURE_ARGS && - make && make install + ./configure \ + --prefix=/usr \ + $CONFIGURE_ARGS && + make && + make install } # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { - mkdir -p $fs/etc $fs/usr - cp -a stuff/fswebcam.conf $fs/etc/fswebcam.conf - cp -a $install/usr/bin $fs/usr + mkdir -p $fs/etc + + cp -a stuff/fswebcam.conf $fs/etc/fswebcam.conf + cook_copy_folders bin }