wok-current rev 8548
imported patch get/ecm
author | Antoine Bodin <gokhlayeh@slitaz.org> |
---|---|
date | Sun Feb 13 22:57:56 2011 +0100 (2011-02-13) |
parents | 4420775b8cf6 |
children | bdee814cdcb4 |
files | ecm/receipt |
line diff
1.1 --- a/ecm/receipt Sun Feb 13 22:57:56 2011 +0100 1.2 +++ b/ecm/receipt Sun Feb 13 22:57:56 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.