wok-next diff fswebcam/receipt @ rev 4744
popt: fix WGET_URL
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Jan 08 10:20:26 2010 +0100 (2010-01-08) |
parents | |
children | d1768332cee0 |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/fswebcam/receipt Fri Jan 08 10:20:26 2010 +0100 1.3 @@ -0,0 +1,39 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="fswebcam" 1.7 +VERSION="20070108" 1.8 +CATEGORY="misc" 1.9 +MAINTAINER="jozee@slitaz.org" 1.10 +SHORT_DESC="Tiny and flexible webcam app" 1.11 +BUILD_DEPENDS="$DEPENDS libgd-dev" 1.12 +WEB_SITE="http://www.firestorm.cx/fswebcam/" 1.13 +DEPENDS="libgd" 1.14 +CONFIG_FILES="etc/fswebcam.conf" 1.15 +TARBALL="$PACKAGE-$VERSION.tar.gz" 1.16 +WGET_URL="$WEB_SITE/files/$TARBALL" 1.17 +TAGS="webcam" 1.18 + 1.19 +# Rules to configure and make the package. 1.20 + 1.21 +compile_rules() { 1.22 + cd $src 1.23 + while read file; do 1.24 + [ -f done.$file ] && continue 1.25 + echo "Apply $file..." 1.26 + patch -p1 < ../stuff/$PACKAGE-$VERSION-$file || return 1 1.27 + touch done.$file 1.28 + done <<EOT 1.29 +gzip.patch 1.30 +EOT 1.31 + ./configure --prefix=/usr && 1.32 + make && 1.33 + make DESTDIR=$PWD/_pkg install 1.34 +} 1.35 + 1.36 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.37 +genpkg_rules() 1.38 +{ 1.39 + mkdir -p $fs/etc $fs/usr 1.40 + cp -a stuff/fswebcam.conf $fs/etc/fswebcam.conf 1.41 + cp -a $_pkg/usr/bin $fs/usr 1.42 +}