wok view droid-font/receipt @ rev 7197

Added gtk+-dev to pygtk-dev depends.
author Christopher Rogers <slaxemulator@gmail.com>
date Tue Nov 09 05:15:39 2010 +0000 (2010-11-09)
parents cdcf0ac21191
children df1ebc56392f
line source
1 # SliTaz package receipt.
3 PACKAGE="droid-font"
4 VERSION="2010-04-09"
5 GIT_HASH=22a27501a220e8f2ea5f9be3312bb0b64e32a71a
6 CATEGORY="x-window"
7 SHORT_DESC="Font family from Google's Android project"
8 MAINTAINER="devl547@gmail.com"
9 WEB_SITE="http://www.droidfonts.com/"
10 # Located in git repo, so we need a snapshot and some dirty hacks.
11 GIT_URL="http://android.git.kernel.org/?p=platform/frameworks/base.git;f=data/fonts;a=snapshot;h=$GIT_HASH;sf=tgz"
13 # Rules to configure and make the package.
14 compile_rules()
15 {
16 TARFILE=$SOURCES_REPOSITORY/$PACKAGE-$VERSION.tgz
17 [ -s $TARFILE ] || wget -O $TARFILE $GIT_URL
18 tar xzf $TARFILE
19 mv base $PACKAGE-$VERSION > /dev/null
20 }
22 # Rules to gen a SliTaz package suitable for Tazpkg.
23 genpkg_rules()
24 {
25 dir=$fs/usr/share/fonts/truetype/droid-font
26 mkdir -p $dir
27 cp -a $src/*.ttf $dir
28 chmod -x $dir/*.ttf
29 }