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