wok-6.x rev 6411
droid-font: fix git wget
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Sep 25 15:19:07 2010 +0200 (2010-09-25) |
parents | 30b41f655c26 |
children | a73c94997539 |
files | droid-font/receipt |
line diff
1.1 --- a/droid-font/receipt Sat Sep 25 14:51:35 2010 +0200 1.2 +++ b/droid-font/receipt Sat Sep 25 15:19:07 2010 +0200 1.3 @@ -7,12 +7,14 @@ 1.4 MAINTAINER="devl547@gmail.com" 1.5 WEB_SITE="http://www.droidfonts.com/" 1.6 # Located in git repo, so we need a snapshot and some dirty hacks. 1.7 -TARBALL="fonts;a=snapshot;h=22a27501a220e8f2ea5f9be3312bb0b64e32a71a;sf=tgz" 1.8 -WGET_URL="http://android.git.kernel.org/?p=platform/frameworks/base.git;f=data/fonts;a=snapshot;h=22a27501a220e8f2ea5f9be3312bb0b64e32a71a;sf=tgz" 1.9 +GIT_URL="http://android.git.kernel.org/?p=platform/frameworks/base.git;f=data/fonts;a=snapshot;h=22a27501a220e8f2ea5f9be3312bb0b64e32a71a;sf=tgz" 1.10 1.11 # Rules to configure and make the package. 1.12 compile_rules() 1.13 { 1.14 + [ -s $SOURCES_REPOSITORY/$PACKAGE-$VERSION.tgz ] || 1.15 + wget -O $SOURCES_REPOSITORY/$PACKAGE-$VERSION.tgz $GIT_URL 1.16 + tar xzf $SOURCES_REPOSITORY/$PACKAGE-$VERSION.tgz 1.17 mv base $PACKAGE-$VERSION > /dev/null 1.18 cd $src 1.19 chmod -x *.ttf