wok annotate droid-font/receipt @ rev 25519
created recipes for libuv and libuv-dev 1.44.1
author | Hans-G?nter Theisgen |
---|---|
date | Fri Feb 24 15:35:59 2023 +0100 (20 months ago) |
parents | b01314c762e9 |
children | a66f312c374b |
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 |
al@19125 | 6 CATEGORY="fonts" |
devl547@6090 | 7 SHORT_DESC="Font family from Google's Android project" |
devl547@6090 | 8 MAINTAINER="devl547@gmail.com" |
pascal@15579 | 9 LICENSE="Apache" |
pascal@21799 | 10 WEB_SITE="https://android.googlesource.com/" |
devl547@6090 | 11 # Located in git repo, so we need a snapshot and some dirty hacks. |
gokhlayeh@8798 | 12 TARBALL="$PACKAGE-$VERSION.tgz" |
pascal@25113 | 13 WGET_URL="https://download.tuxfamily.org/slitaz/sources/packages-cooking/${TARBALL:0:1}/$TARBALL" |
devl547@6090 | 14 |
pascal@15579 | 15 BUILD_DEPENDS="wget" |
pascal@15579 | 16 |
pascal@24759 | 17 # What is the latest version available today? |
pascal@24759 | 18 current_version() |
pascal@24759 | 19 { |
pascal@24759 | 20 wget -O - https://github.com/aosp-mirror/platform_frameworks_base/commits/master 2>/dev/null | \ |
pascal@24759 | 21 sed '/Commits on/!d;s|.*on |"|;s|<.*|"|;q' | xargs date +%Y-%m-%d -d |
pascal@24759 | 22 } |
pascal@24759 | 23 |
devl547@6090 | 24 # Rules to configure and make the package. |
gokhlayeh@8798 | 25 # Keep an empty compile_rules to make tazwok install build depends. |
devl547@6090 | 26 compile_rules() |
devl547@6090 | 27 { |
gokhlayeh@8798 | 28 : |
devl547@6090 | 29 } |
devl547@6090 | 30 |
devl547@6090 | 31 # Rules to gen a SliTaz package suitable for Tazpkg. |
devl547@6090 | 32 genpkg_rules() |
devl547@6090 | 33 { |
pascal@6412 | 34 dir=$fs/usr/share/fonts/truetype/droid-font |
pascal@6412 | 35 mkdir -p $dir |
pascal@6412 | 36 cp -a $src/*.ttf $dir |
pascal@6412 | 37 chmod -x $dir/*.ttf |
devl547@6090 | 38 } |