# HG changeset patch # User Christopher Rogers # Date 1300212400 0 # Node ID 95c870915bbbdf871ba6e17b8fa2fb898b93844f # Parent cdc7aba9de482ff4bbba81eaece3a606ac00b4a8 Fixed sudoku to use TARBALL instead of downloading in compile_rules to source repos. diff -r cdc7aba9de48 -r 95c870915bbb sudoku/receipt --- a/sudoku/receipt Tue Mar 15 17:35:56 2011 +0000 +++ b/sudoku/receipt Tue Mar 15 18:06:40 2011 +0000 @@ -5,23 +5,15 @@ CATEGORY="games" SHORT_DESC="Sudoku game in javascript" MAINTAINER="pascal.bellard@slitaz.org" +TARBALL="$PACKAGE-$VERSION.html" WEB_SITE="http://10k.aneventapart.com/Entry/81" - -# Rules to configure and make the package. -compile_rules() -{ - mkdir $src - cd $src - [ -s $SOURCES_REPOSITORY/$PACKAGE-$VERSION.html ] || \ - wget -O $SOURCES_REPOSITORY/$PACKAGE-$VERSION.html http://10k.aneventapart.com/Uploads/81/index.html - cp -a $SOURCES_REPOSITORY/$PACKAGE-$VERSION.html $src/index.html -} +WGET_URL="http://10k.aneventapart.com/Uploads/81/index.html" # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { mkdir -p $fs/var/www/$PACKAGE $fs/usr/share/applications - cp $src/* $fs/var/www/$PACKAGE + cp $src/$TARBALL $fs/var/www/$PACKAGE/index.html chown -R 80.80 $fs/var/www/$PACKAGE cat > $fs/usr/share/applications/sudoku.desktop <