wok-next view ttf-roboto/receipt @ rev 20577

More fix libtool
author Aleksej Bobylev <al.bobylev@gmail.com>
date Sat Apr 14 03:34:33 2018 +0300 (2018-04-14)
parents 0ff6bd677938
children d5aab818505e
line source
1 # SliTaz package receipt v2.
3 PACKAGE="ttf-roboto"
4 VERSION="2.136"
5 CATEGORY="fonts"
6 SHORT_DESC="Android Roboto Fonts"
7 MAINTAINER="al.bobylev@gmail.com"
8 LICENSE="Apache"
9 WEB_SITE="https://fonts.google.com/specimen/Roboto"
11 TARBALL="roboto-hinted-$VERSION.zip"
12 WGET_URL="https://github.com/google/roboto/releases/download/v$VERSION/roboto-hinted.zip"
14 SPLIT="ttf-roboto-base ttf-roboto"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 FONTPATH=$install/usr/share/fonts/truetype/ttf-roboto
20 mkdir -p $FONTPATH
21 install -Dm644 $src/*.ttf $FONTPATH
22 }
24 # Rules to gen a SliTaz package suitable for Tazpkg.
25 genpkg_rules()
26 {
27 case $PACKAGE in
28 ttf-roboto-base)
29 copy Roboto-Regular.ttf Roboto-Bold.ttf Roboto-Italic.ttf \
30 Roboto-BoldItalic.ttf
31 CAT="fonts|base family"
32 DEPENDS=" "
33 TAGS="font ttf"
34 ;;
35 ttf-roboto)
36 copy @std @rm
37 DEPENDS="ttf-roboto-base"
38 TAGS="font ttf"
39 ;;
40 esac
41 }