wok-current view tuffy-font/receipt @ rev 25483

created recipe for py3k-six
author Hans-G?nter Theisgen
date Mon Oct 17 07:54:33 2022 +0100 (2022-10-17)
parents d1570adae0ba
children
line source
1 # SliTaz package receipt.
3 PACKAGE="tuffy-font"
4 VERSION="1.28"
5 CATEGORY="fonts"
6 SHORT_DESC="Tuffy font family is a neutral and readable sans-serif text font."
7 MAINTAINER="hackdorte@sapo.pt"
8 LICENSE="PublicDomain"
9 WEB_SITE="http://tulrich.com/fonts/"
11 TARBALL="tuffy-20120614.zip"
12 WGET_URL="${WEB_SITE}$TARBALL"
14 DEPENDS=""
15 BUILD_DEPENDS="wget"
17 # What is the latest version available today?
18 current_version()
19 {
20 wget -O - ${WGET_URL%/*} 2>/dev/null | \
21 sed '/tuffy-/!d;/tar/!d;s|.*tuffy-\([0-9\.]*\).tar.*|\1|' | sort -Vr | sed q
22 }
24 # Rules to configure and make the package.
25 compile_rules()
26 {
27 mkdir -p $install/usr/share/fonts/tuffy
28 cp -a $src/* $install/usr/share/fonts/tuffy
29 }
31 # Rules to gen a SliTaz package suitable for Tazpkg.
32 genpkg_rules()
33 {
34 cp -a $install/* $fs
35 }