wok-current annotate fswebcam/receipt @ rev 25067

updated alsa-plugins (1.1.5 -> 1.2.6)
author Hans-G?nter Theisgen
date Fri Jun 10 13:40:50 2022 +0100 (2022-06-10)
parents 83b97236db32
children
rev   line source
jozee@4607 1 # SliTaz package receipt.
jozee@4607 2
jozee@4607 3 PACKAGE="fswebcam"
Hans-G?nter@24576 4 VERSION="20200725"
jozee@4607 5 CATEGORY="misc"
Hans-G?nter@24576 6 TAGS="webcam"
jozee@4607 7 MAINTAINER="jozee@slitaz.org"
pascal@15588 8 LICENSE="GPL2"
jozee@4607 9 SHORT_DESC="Tiny and flexible webcam app"
pascal@21885 10 WEB_SITE="https://www.sanslogic.co.uk/fswebcam/"
Hans-G?nter@24576 11
pankso@16469 12 TARBALL="$PACKAGE-$VERSION.tar.xz"
jozee@4607 13 WGET_URL="$WEB_SITE/files/$TARBALL"
jozee@4607 14
pascal@15588 15 DEPENDS="libgd"
pankso@16469 16 BUILD_DEPENDS="libgd-dev"
pascal@15588 17
Hans-G?nter@24576 18 CONFIG_FILES="etc/fswebcam.conf"
Hans-G?nter@24576 19
Hans-G?nter@24576 20 HOST_ARCH="i486"
Hans-G?nter@24576 21
pascal@24427 22 # What is the latest version available today?
pascal@24427 23 current_version()
pascal@24427 24 {
pascal@24427 25 wget -O - ${WGET_URL%/*/*} 2>/dev/null | \
pascal@24427 26 sed "/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
pascal@24427 27 }
pascal@24427 28
jozee@4607 29 # Rules to configure and make the package.
pankso@16469 30 compile_rules()
pankso@16469 31 {
Hans-G?nter@24576 32 ./configure \
Hans-G?nter@24576 33 --prefix=/usr \
Hans-G?nter@24576 34 $CONFIGURE_ARGS &&
Hans-G?nter@24576 35 make &&
Hans-G?nter@24576 36 make install
jozee@4607 37 }
jozee@4607 38
jozee@4607 39 # Rules to gen a SliTaz package suitable for Tazpkg.
jozee@4607 40 genpkg_rules()
jozee@4607 41 {
Hans-G?nter@24576 42 mkdir -p $fs/etc
Hans-G?nter@24576 43
Hans-G?nter@24576 44 cp -a stuff/fswebcam.conf $fs/etc/fswebcam.conf
Hans-G?nter@24576 45 cook_copy_folders bin
jozee@4607 46 }