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

Add libsdl-pango. Needed for frozen-bubble.
author Christopher Rogers <slaxemulator@gmail.com>
date Sat Nov 27 19:11:15 2010 +0000 (2010-11-27)
parents
children d1768332cee0
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 }