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

Add some current_version
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Feb 11 17:50:36 2022 +0000 (2022-02-11)
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 }