# HG changeset patch # User Antoine Bodin # Date 1298416511 -3600 # Node ID df1ebc56392fa3832bc7d2460636b5aacc7fe7b4 # Parent fb26dae68816916975338842269a26fac62ab560 Fix droid-font tarball download diff -r fb26dae68816 -r df1ebc56392f droid-font/receipt --- a/droid-font/receipt Tue Feb 22 23:53:22 2011 +0100 +++ b/droid-font/receipt Wed Feb 23 00:15:11 2011 +0100 @@ -6,17 +6,17 @@ CATEGORY="x-window" SHORT_DESC="Font family from Google's Android project" MAINTAINER="devl547@gmail.com" +BUILD_DEPENDS="wget" WEB_SITE="http://www.droidfonts.com/" # Located in git repo, so we need a snapshot and some dirty hacks. -GIT_URL="http://android.git.kernel.org/?p=platform/frameworks/base.git;f=data/fonts;a=snapshot;h=$GIT_HASH;sf=tgz" +TARBALL="$PACKAGE-$VERSION.tgz" +WGET_URL="http://android.git.kernel.org/?p=platform/frameworks/base.git;f=data/fonts;a=snapshot;h=$GIT_HASH;sf=tgz" # Rules to configure and make the package. +# Keep an empty compile_rules to make tazwok install build depends. compile_rules() { - TARFILE=$SOURCES_REPOSITORY/$PACKAGE-$VERSION.tgz - [ -s $TARFILE ] || wget -O $TARFILE $GIT_URL - tar xzf $TARFILE - mv base $PACKAGE-$VERSION > /dev/null + : } # Rules to gen a SliTaz package suitable for Tazpkg.