wok view fswebcam/receipt @ rev 24556
updated flatpress (0.1010.2 -> 1.2.1)
author | Hans-G?nter Theisgen |
---|---|
date | Fri Feb 25 14:05:00 2022 +0100 (2022-02-25) |
parents | 432dd31a79d5 |
children | d5468918986e |
line source
1 # SliTaz package receipt.
3 PACKAGE="fswebcam"
4 VERSION="20140113"
5 CATEGORY="misc"
6 MAINTAINER="jozee@slitaz.org"
7 LICENSE="GPL2"
8 SHORT_DESC="Tiny and flexible webcam app"
9 WEB_SITE="https://www.sanslogic.co.uk/fswebcam/"
10 CONFIG_FILES="etc/fswebcam.conf"
11 TARBALL="$PACKAGE-$VERSION.tar.xz"
12 WGET_URL="$WEB_SITE/files/$TARBALL"
13 TAGS="webcam"
14 HOST_ARCH="i486"
16 DEPENDS="libgd"
17 BUILD_DEPENDS="libgd-dev"
19 # What is the latest version available today?
20 current_version()
21 {
22 wget -O - ${WGET_URL%/*/*} 2>/dev/null | \
23 sed "/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
24 }
26 # Rules to configure and make the package.
27 compile_rules()
28 {
29 ./configure \
30 --prefix=/usr $CONFIGURE_ARGS &&
31 make && make install
32 }
34 # Rules to gen a SliTaz package suitable for Tazpkg.
35 genpkg_rules()
36 {
37 mkdir -p $fs/etc $fs/usr
38 cp -a stuff/fswebcam.conf $fs/etc/fswebcam.conf
39 cp -a $install/usr/bin $fs/usr
40 }