wok-4.x view fswebcam/receipt @ rev 11094

Up: devede to 3.17.0.
author Christopher Rogers <slaxemulator@gmail.com>
date Mon Oct 17 02:47:45 2011 +0000 (2011-10-17)
parents d420f0202279
children
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 }