wok-6.x rev 6090

Add: droid-font (2010-04-09)
author Alexander Medvedev <devl547@gmail.com>
date Mon Aug 30 01:08:38 2010 +0000 (2010-08-30)
parents c4f91a4fefc4
children 32233f725ab5
files droid-font/receipt
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/droid-font/receipt	Mon Aug 30 01:08:38 2010 +0000
     1.3 @@ -0,0 +1,26 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="droid-font"
     1.7 +VERSION="2010-04-09"
     1.8 +CATEGORY="x-window"
     1.9 +SHORT_DESC="Font family from Google's Android project"
    1.10 +MAINTAINER="devl547@gmail.com"
    1.11 +WEB_SITE="http://www.droidfonts.com/"
    1.12 +# Located in git repo, so we need a snapshot and some dirty hacks.
    1.13 +TARBALL="fonts;a=snapshot;h=22a27501a220e8f2ea5f9be3312bb0b64e32a71a;sf=tgz"
    1.14 +WGET_URL="http://android.git.kernel.org/?p=platform/frameworks/base.git;f=data/fonts;a=snapshot;h=22a27501a220e8f2ea5f9be3312bb0b64e32a71a;sf=tgz"
    1.15 +
    1.16 +# Rules to configure and make the package.
    1.17 +compile_rules()
    1.18 +{
    1.19 +	mv base $PACKAGE-$VERSION > /dev/null
    1.20 +	cd $src
    1.21 +	chmod -x *.ttf
    1.22 +}
    1.23 +
    1.24 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.25 +genpkg_rules()
    1.26 +{
    1.27 +	mkdir -p $fs/usr/share/fonts/truetype/droid-font
    1.28 +	cp -a $src/*.ttf $fs/usr/share/fonts/truetype/droid-font
    1.29 +}