SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "fswebcam"

# SliTaz package receipt.

PACKAGE="fswebcam"
VERSION="20070108"
CATEGORY="misc"
MAINTAINER="jozee@slitaz.org"
SHORT_DESC="Tiny and flexible webcam app"
BUILD_DEPENDS="$DEPENDS libgd-dev"
WEB_SITE="http://www.firestorm.cx/fswebcam/"
DEPENDS="libgd"
CONFIG_FILES="etc/fswebcam.conf"
TARBALL="$PACKAGE-$VERSION.tar.gz"
WGET_URL="$WEB_SITE/files/$TARBALL"
TAGS="webcam"

# Rules to configure and make the package.

compile_rules() {
  cd $src
   while read file; do
        [ -f done.$file ] && continue
        echo "Apply $file..."
        patch -p1 < $stuff/$PACKAGE-$VERSION-$file || return 1
    touch done.$file
    done <<EOT
gzip.patch
EOT
  ./configure --prefix=/usr &&
  make &&
  make DESTDIR=$PWD/_pkg install 
}
    
# Rules to gen a SliTaz package suitable for Tazpkg.
genpkg_rules()
{
    mkdir -p $fs/etc $fs/usr
    cp -a stuff/fswebcam.conf $fs/etc/fswebcam.conf
    cp -a $_pkg/usr/bin $fs/usr
}
3382 packages and 430813 files in stable database (Mon Mar 4 17:53:49 2019)