wok-next annotate droid-font/receipt @ rev 16842

Update v4l4j receipt
author Yuri Pourre <yuripourre@gmail.com>
date Sat Jul 12 15:34:23 2014 -0300 (2014-07-12)
parents df1ebc56392f
children d1570adae0ba
rev   line source
devl547@6090 1 # SliTaz package receipt.
devl547@6090 2
devl547@6090 3 PACKAGE="droid-font"
devl547@6090 4 VERSION="2010-04-09"
pascal@6412 5 GIT_HASH=22a27501a220e8f2ea5f9be3312bb0b64e32a71a
devl547@6090 6 CATEGORY="x-window"
devl547@6090 7 SHORT_DESC="Font family from Google's Android project"
devl547@6090 8 MAINTAINER="devl547@gmail.com"
pascal@15579 9 LICENSE="Apache"
devl547@6090 10 WEB_SITE="http://www.droidfonts.com/"
devl547@6090 11 # Located in git repo, so we need a snapshot and some dirty hacks.
gokhlayeh@8798 12 TARBALL="$PACKAGE-$VERSION.tgz"
gokhlayeh@8798 13 WGET_URL="http://android.git.kernel.org/?p=platform/frameworks/base.git;f=data/fonts;a=snapshot;h=$GIT_HASH;sf=tgz"
devl547@6090 14
pascal@15579 15 BUILD_DEPENDS="wget"
pascal@15579 16
devl547@6090 17 # Rules to configure and make the package.
gokhlayeh@8798 18 # Keep an empty compile_rules to make tazwok install build depends.
devl547@6090 19 compile_rules()
devl547@6090 20 {
gokhlayeh@8798 21 :
devl547@6090 22 }
devl547@6090 23
devl547@6090 24 # Rules to gen a SliTaz package suitable for Tazpkg.
devl547@6090 25 genpkg_rules()
devl547@6090 26 {
pascal@6412 27 dir=$fs/usr/share/fonts/truetype/droid-font
pascal@6412 28 mkdir -p $dir
pascal@6412 29 cp -a $src/*.ttf $dir
pascal@6412 30 chmod -x $dir/*.ttf
devl547@6090 31 }