wok-current diff fswebcam/receipt @ rev 8331
Add: nagios-nrpe
author | Eric Joseph-Alexandre <erjo@slitaz.org> |
---|---|
date | Wed Feb 02 01:17:51 2011 +0100 (2011-02-02) |
parents | |
children | d1768332cee0 |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/fswebcam/receipt Wed Feb 02 01:17:51 2011 +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 +}