wok view droid-font/receipt @ rev 18507

mozo: update compile rules
author Yuri Pourre <yuripourre@gmail.com>
date Sat Oct 17 13:39:12 2015 -0300 (2015-10-17)
parents df1ebc56392f
children d1570adae0ba
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 LICENSE="Apache"
10 WEB_SITE="http://www.droidfonts.com/"
11 # Located in git repo, so we need a snapshot and some dirty hacks.
12 TARBALL="$PACKAGE-$VERSION.tgz"
13 WGET_URL="http://android.git.kernel.org/?p=platform/frameworks/base.git;f=data/fonts;a=snapshot;h=$GIT_HASH;sf=tgz"
15 BUILD_DEPENDS="wget"
17 # Rules to configure and make the package.
18 # Keep an empty compile_rules to make tazwok install build depends.
19 compile_rules()
20 {
21 :
22 }
24 # Rules to gen a SliTaz package suitable for Tazpkg.
25 genpkg_rules()
26 {
27 dir=$fs/usr/share/fonts/truetype/droid-font
28 mkdir -p $dir
29 cp -a $src/*.ttf $dir
30 chmod -x $dir/*.ttf
31 }