wok-next diff fswebcam/receipt @ rev 16469

Up and add to ARM: libgd fswebcam
author Christophe Lincoln <pankso@slitaz.org>
date Tue Apr 22 03:43:21 2014 +0200 (2014-04-22)
parents fcdd50638150
children 007630052ef4
line diff
     1.1 --- a/fswebcam/receipt	Mon Dec 02 16:43:36 2013 +0000
     1.2 +++ b/fswebcam/receipt	Tue Apr 22 03:43:21 2014 +0200
     1.3 @@ -1,35 +1,27 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="fswebcam"
     1.7 -VERSION="20070108"
     1.8 +VERSION="20140113"
     1.9  CATEGORY="misc"
    1.10  MAINTAINER="jozee@slitaz.org"
    1.11  LICENSE="GPL2"
    1.12  SHORT_DESC="Tiny and flexible webcam app"
    1.13  WEB_SITE="http://www.firestorm.cx/fswebcam/"
    1.14  CONFIG_FILES="etc/fswebcam.conf"
    1.15 -TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.16 +TARBALL="$PACKAGE-$VERSION.tar.xz"
    1.17  WGET_URL="$WEB_SITE/files/$TARBALL"
    1.18  TAGS="webcam"
    1.19 +HOST_ARCH="i486 arm"
    1.20  
    1.21  DEPENDS="libgd"
    1.22 -BUILD_DEPENDS="$DEPENDS libgd-dev"
    1.23 +BUILD_DEPENDS="libgd-dev"
    1.24  
    1.25  # Rules to configure and make the package.
    1.26 -
    1.27 -compile_rules() {
    1.28 -  cd $src
    1.29 -   while read file; do
    1.30 -    	[ -f done.$file ] && continue
    1.31 -    	echo "Apply $file..."
    1.32 -    	patch -p1 < $stuff/$PACKAGE-$VERSION-$file || return 1
    1.33 -	touch done.$file
    1.34 -    done <<EOT
    1.35 -gzip.patch
    1.36 -EOT
    1.37 -  ./configure --prefix=/usr &&
    1.38 -  make &&
    1.39 -  make DESTDIR=$DESTDIR install 
    1.40 +compile_rules()
    1.41 +{
    1.42 +	./configure \
    1.43 +		--prefix=/usr $CONFIGURE_ARGS &&
    1.44 +	make && make install 
    1.45  }
    1.46  	
    1.47  # Rules to gen a SliTaz package suitable for Tazpkg.