wok rev 24576

updated fswebcam (20140113 -> 20200725)
author Hans-G?nter Theisgen
date Sun Feb 27 10:49:46 2022 +0100 (2022-02-27)
parents 4dc049247076
children 3911e4610e39
files fswebcam/description.txt fswebcam/receipt
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/fswebcam/description.txt	Sun Feb 27 10:49:46 2022 +0100
     1.3 @@ -0,0 +1,6 @@
     1.4 +Fswebcam is a neat and simple webcam app.
     1.5 +It captures images from a V4L1/V4L2 compatible device or file,
     1.6 +averages them to reduce noise and draws a caption using the
     1.7 +GD Graphics Library which also handles compressing the image
     1.8 +to PNG or JPEG. The resulting image is saved to a file or sent
     1.9 +to stdio where it can be piped to something like ncftpput or scp.
     2.1 --- a/fswebcam/receipt	Sun Feb 27 10:36:21 2022 +0100
     2.2 +++ b/fswebcam/receipt	Sun Feb 27 10:49:46 2022 +0100
     2.3 @@ -1,21 +1,24 @@
     2.4  # SliTaz package receipt.
     2.5  
     2.6  PACKAGE="fswebcam"
     2.7 -VERSION="20140113"
     2.8 +VERSION="20200725"
     2.9  CATEGORY="misc"
    2.10 +TAGS="webcam"
    2.11  MAINTAINER="jozee@slitaz.org"
    2.12  LICENSE="GPL2"
    2.13  SHORT_DESC="Tiny and flexible webcam app"
    2.14  WEB_SITE="https://www.sanslogic.co.uk/fswebcam/"
    2.15 -CONFIG_FILES="etc/fswebcam.conf"
    2.16 +
    2.17  TARBALL="$PACKAGE-$VERSION.tar.xz"
    2.18  WGET_URL="$WEB_SITE/files/$TARBALL"
    2.19 -TAGS="webcam"
    2.20 -HOST_ARCH="i486"
    2.21  
    2.22  DEPENDS="libgd"
    2.23  BUILD_DEPENDS="libgd-dev"
    2.24  
    2.25 +CONFIG_FILES="etc/fswebcam.conf"
    2.26 +
    2.27 +HOST_ARCH="i486"
    2.28 +
    2.29  # What is the latest version available today?
    2.30  current_version()
    2.31  {
    2.32 @@ -26,15 +29,18 @@
    2.33  # Rules to configure and make the package.
    2.34  compile_rules()
    2.35  {
    2.36 -	./configure \
    2.37 -		--prefix=/usr $CONFIGURE_ARGS &&
    2.38 -	make && make install 
    2.39 +	./configure		\
    2.40 +		--prefix=/usr	\
    2.41 +		$CONFIGURE_ARGS &&
    2.42 +	make &&
    2.43 +	make install 
    2.44  }
    2.45  	
    2.46  # Rules to gen a SliTaz package suitable for Tazpkg.
    2.47  genpkg_rules()
    2.48  {
    2.49 -	mkdir -p $fs/etc $fs/usr
    2.50 -	cp -a stuff/fswebcam.conf $fs/etc/fswebcam.conf
    2.51 -	cp -a $install/usr/bin $fs/usr
    2.52 +	mkdir -p $fs/etc
    2.53 +
    2.54 +	cp -a stuff/fswebcam.conf	$fs/etc/fswebcam.conf
    2.55 +	cook_copy_folders	bin
    2.56  }