wok view fswebcam/receipt @ rev 13780
gnome-python: update bdeps
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Jan 04 08:39:14 2013 +0100 (2013-01-04) |
parents | d420f0202279 |
children | fcdd50638150 |
line source
1 # SliTaz package receipt.
3 PACKAGE="fswebcam"
4 VERSION="20070108"
5 CATEGORY="misc"
6 MAINTAINER="jozee@slitaz.org"
7 SHORT_DESC="Tiny and flexible webcam app"
8 BUILD_DEPENDS="$DEPENDS libgd-dev"
9 WEB_SITE="http://www.firestorm.cx/fswebcam/"
10 DEPENDS="libgd"
11 CONFIG_FILES="etc/fswebcam.conf"
12 TARBALL="$PACKAGE-$VERSION.tar.gz"
13 WGET_URL="$WEB_SITE/files/$TARBALL"
14 TAGS="webcam"
16 # Rules to configure and make the package.
18 compile_rules() {
19 cd $src
20 while read file; do
21 [ -f done.$file ] && continue
22 echo "Apply $file..."
23 patch -p1 < $stuff/$PACKAGE-$VERSION-$file || return 1
24 touch done.$file
25 done <<EOT
26 gzip.patch
27 EOT
28 ./configure --prefix=/usr &&
29 make &&
30 make DESTDIR=$PWD/_pkg install
31 }
33 # Rules to gen a SliTaz package suitable for Tazpkg.
34 genpkg_rules()
35 {
36 mkdir -p $fs/etc $fs/usr
37 cp -a stuff/fswebcam.conf $fs/etc/fswebcam.conf
38 cp -a $_pkg/usr/bin $fs/usr
39 }