wok diff ecm/receipt @ rev 8784

Fix-dep: tazwok depends on libtaz
author Antoine Bodin <gokhlayeh@slitaz.org>
date Tue Feb 22 22:30:34 2011 +0100 (2011-02-22)
parents aecece5740c6
children e64069568fe7
line diff
     1.1 --- a/ecm/receipt	Sun Dec 05 09:57:19 2010 +0000
     1.2 +++ b/ecm/receipt	Tue Feb 22 22:30:34 2011 +0100
     1.3 @@ -9,25 +9,14 @@
     1.4  BUILD_DEPENDS="unzip"
     1.5  TARBALL="${PACKAGE}${VERSION}.zip"
     1.6  WEB_SITE="http://www.neillcorlett.com/ecm/"
     1.7 -WGET="http://www.neillcorlett.com/downloads/$TARBALL"
     1.8 +WGET_URL="http://www.neillcorlett.com/downloads/$TARBALL"
     1.9  
    1.10  # Rules to configure and make the package.
    1.11  compile_rules()
    1.12  {
    1.13 -	src=$WOK/$PACKAGE/$PACKAGE-$VERSION
    1.14 -	mkdir -p $src
    1.15 -	cd $src
    1.16 -	if [ -f $SOURCES_REPOSITORY/$TARBALL ]; then
    1.17 -		unzip $SOURCES_REPOSITORY/$TARBALL
    1.18 -	else
    1.19 -		[ -L /usr/bin/wget ] && tazpkg get-install wget --forced
    1.20 -	        wget -O $SOURCES_REPOSITORY/$TARBALL $WGET
    1.21 -		unzip $SOURCES_REPOSITORY/$TARBALL -d $src
    1.22 -	fi
    1.23 -	for i in {,un}ecm; do
    1.24 +	for i in ecm unecm; do
    1.25  		gcc $i.c -o $i 
    1.26  	done
    1.27 -
    1.28  }
    1.29  
    1.30  # Rules to gen a SliTaz package suitable for Tazpkg.