wok annotate unifont/receipt @ rev 25463

Up expat (2.4.9) fixes CVE-2022-40674
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Sep 29 20:05:23 2022 +0000 (20 months ago)
parents 2a0479881723
children
rev   line source
hackdorte@18915 1 # SliTaz package receipt.
hackdorte@18915 2
hackdorte@18917 3 PACKAGE="unifont"
Hans-G?nter@25381 4 VERSION="14.0.04"
al@19125 5 CATEGORY="fonts"
hackdorte@18915 6 SHORT_DESC="The Standard GNU Unifont TTF."
hackdorte@18915 7 MAINTAINER="hackdorte@sapo.pt"
hackdorte@18915 8 LICENSE="GPL2"
Hans-G?nter@25381 9 WEB_SITE="https://unifoundry.com/"
Hans-G?nter@25381 10 REPOLOGY="fonts:unifont"
hackdorte@18915 11
al@19001 12 TARBALL="$PACKAGE-$VERSION.ttf"
Hans-G?nter@22076 13 WGET_URL="${WEB_SITE}pub/$PACKAGE/$PACKAGE-$VERSION/font-builds/$TARBALL"
hackdorte@18915 14
pascal@24436 15 # What is the latest version available today?
pascal@24436 16 current_version()
pascal@24436 17 {
pascal@24436 18 wget -O - ${WGET_URL%/*/*/*} 2>/dev/null | \
pascal@24436 19 sed '/href="unifont-[0-9]/!d;s|.*href="unifont-||;s|/.*||' | sort -Vr | sed q
pascal@24436 20 }
pascal@24436 21
hackdorte@18915 22 # Rules to configure and make the package.
hackdorte@18915 23 compile_rules()
hackdorte@18915 24 {
Hans-G?nter@22076 25 mkdir -p $install/usr/share/fonts/$PACKAGE
Hans-G?nter@22076 26 cp -a $src/* $install/usr/share/fonts/$PACKAGE
hackdorte@18915 27 }
hackdorte@18915 28
hackdorte@18915 29 # Rules to gen a SliTaz package suitable for Tazpkg.
hackdorte@18915 30 genpkg_rules()
hackdorte@18915 31 {
Hans-G?nter@23718 32 cp -a $install/* $fs
Hans-G?nter@22076 33 }