wok-current view fswebcam/receipt @ rev 10543
gnomad2: update bdeps
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed May 25 19:03:26 2011 +0200 (2011-05-25) |
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 }