wok-current rev 8798

Fix droid-font tarball download
author Antoine Bodin <gokhlayeh@slitaz.org>
date Wed Feb 23 00:15:11 2011 +0100 (2011-02-23)
parents fb26dae68816
children f5b7e0c47763
files droid-font/receipt
line diff
     1.1 --- a/droid-font/receipt	Tue Feb 22 23:53:22 2011 +0100
     1.2 +++ b/droid-font/receipt	Wed Feb 23 00:15:11 2011 +0100
     1.3 @@ -6,17 +6,17 @@
     1.4  CATEGORY="x-window"
     1.5  SHORT_DESC="Font family from Google's Android project"
     1.6  MAINTAINER="devl547@gmail.com"
     1.7 +BUILD_DEPENDS="wget"
     1.8  WEB_SITE="http://www.droidfonts.com/"
     1.9  # Located in git repo, so we need a snapshot and some dirty hacks.
    1.10 -GIT_URL="http://android.git.kernel.org/?p=platform/frameworks/base.git;f=data/fonts;a=snapshot;h=$GIT_HASH;sf=tgz"
    1.11 +TARBALL="$PACKAGE-$VERSION.tgz"
    1.12 +WGET_URL="http://android.git.kernel.org/?p=platform/frameworks/base.git;f=data/fonts;a=snapshot;h=$GIT_HASH;sf=tgz"
    1.13  
    1.14  # Rules to configure and make the package.
    1.15 +# Keep an empty compile_rules to make tazwok install build depends.
    1.16  compile_rules()
    1.17  {
    1.18 -	TARFILE=$SOURCES_REPOSITORY/$PACKAGE-$VERSION.tgz
    1.19 -	[ -s $TARFILE ] || wget -O $TARFILE $GIT_URL
    1.20 -	tar xzf $TARFILE
    1.21 -	mv base $PACKAGE-$VERSION > /dev/null
    1.22 +	:
    1.23  }
    1.24  
    1.25  # Rules to gen a SliTaz package suitable for Tazpkg.