wok-current view fswebcam/receipt @ rev 15702
Up: udevil (0.4.3)
author | Eric Joseph-Alexandre <erjo@slitaz.org> |
---|---|
date | Sun Dec 22 15:11:57 2013 +0100 (2013-12-22) |
parents | d1768332cee0 |
children | 1c12e3f2a6a0 |
line source
1 # SliTaz package receipt.
3 PACKAGE="fswebcam"
4 VERSION="20070108"
5 CATEGORY="misc"
6 MAINTAINER="jozee@slitaz.org"
7 LICENSE="GPL2"
8 SHORT_DESC="Tiny and flexible webcam app"
9 WEB_SITE="http://www.firestorm.cx/fswebcam/"
10 CONFIG_FILES="etc/fswebcam.conf"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="$WEB_SITE/files/$TARBALL"
13 TAGS="webcam"
15 DEPENDS="libgd"
16 BUILD_DEPENDS="$DEPENDS libgd-dev"
18 # Rules to configure and make the package.
20 compile_rules() {
21 cd $src
22 while read file; do
23 [ -f done.$file ] && continue
24 echo "Apply $file..."
25 patch -p1 < $stuff/$PACKAGE-$VERSION-$file || return 1
26 touch done.$file
27 done <<EOT
28 gzip.patch
29 EOT
30 ./configure --prefix=/usr &&
31 make &&
32 make DESTDIR=$DESTDIR install
33 }
35 # Rules to gen a SliTaz package suitable for Tazpkg.
36 genpkg_rules()
37 {
38 mkdir -p $fs/etc $fs/usr
39 cp -a stuff/fswebcam.conf $fs/etc/fswebcam.conf
40 cp -a $install/usr/bin $fs/usr
41 }