wok diff fswebcam/receipt @ rev 25794

created recipe for exo-lang
author Hans-G?nter Theisgen
date Wed Oct 23 16:19:52 2024 +0100 (4 weeks ago)
parents 83b97236db32
children
line diff
     1.1 --- a/fswebcam/receipt	Sat Feb 12 11:42:56 2022 +0000
     1.2 +++ b/fswebcam/receipt	Wed Oct 23 16:19:52 2024 +0100
     1.3 @@ -1,21 +1,24 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="fswebcam"
     1.7 -VERSION="20140113"
     1.8 +VERSION="20200725"
     1.9  CATEGORY="misc"
    1.10 +TAGS="webcam"
    1.11  MAINTAINER="jozee@slitaz.org"
    1.12  LICENSE="GPL2"
    1.13  SHORT_DESC="Tiny and flexible webcam app"
    1.14  WEB_SITE="https://www.sanslogic.co.uk/fswebcam/"
    1.15 -CONFIG_FILES="etc/fswebcam.conf"
    1.16 +
    1.17  TARBALL="$PACKAGE-$VERSION.tar.xz"
    1.18  WGET_URL="$WEB_SITE/files/$TARBALL"
    1.19 -TAGS="webcam"
    1.20 -HOST_ARCH="i486"
    1.21  
    1.22  DEPENDS="libgd"
    1.23  BUILD_DEPENDS="libgd-dev"
    1.24  
    1.25 +CONFIG_FILES="etc/fswebcam.conf"
    1.26 +
    1.27 +HOST_ARCH="i486"
    1.28 +
    1.29  # What is the latest version available today?
    1.30  current_version()
    1.31  {
    1.32 @@ -26,15 +29,18 @@
    1.33  # Rules to configure and make the package.
    1.34  compile_rules()
    1.35  {
    1.36 -	./configure \
    1.37 -		--prefix=/usr $CONFIGURE_ARGS &&
    1.38 -	make && make install 
    1.39 +	./configure		\
    1.40 +		--prefix=/usr	\
    1.41 +		$CONFIGURE_ARGS &&
    1.42 +	make &&
    1.43 +	make install 
    1.44  }
    1.45  	
    1.46  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.47  genpkg_rules()
    1.48  {
    1.49 -	mkdir -p $fs/etc $fs/usr
    1.50 -	cp -a stuff/fswebcam.conf $fs/etc/fswebcam.conf
    1.51 -	cp -a $install/usr/bin $fs/usr
    1.52 +	mkdir -p $fs/etc
    1.53 +
    1.54 +	cp -a stuff/fswebcam.conf	$fs/etc/fswebcam.conf
    1.55 +	cook_copy_folders	bin
    1.56  }