wok-current annotate ttf-bwahh/receipt @ rev 25124

updated apache-mod-perl (2.0.8 -> 2.0.11)
author Hans-G?nter Theisgen
date Tue Jun 28 16:23:55 2022 +0100 (2022-06-28)
parents d1570adae0ba
children
rev   line source
hackdorte@19060 1 # SliTaz package receipt.
hackdorte@19060 2
hackdorte@19060 3 PACKAGE="ttf-bwahh"
hackdorte@19060 4 VERSION="0.1"
al@19125 5 CATEGORY="fonts"
hackdorte@19060 6 SHORT_DESC="Bwahh is public domain and futuristic display truetype font."
hackdorte@19060 7 MAINTAINER="hackdorte@sapo.pt"
hackdorte@19060 8 LICENSE="PublicDomain"
hackdorte@19060 9 SOURCE="bwahh"
hackdorte@19060 10 WEB_SITE="http://people.slitaz.org/~leonardolaporte"
hackdorte@19060 11 STUFF_DIR="lab.slitaz/5.0/pkg/font/publicdomain"
hackdorte@19060 12 TARBALL="$SOURCE-$VERSION.tar.gz"
hackdorte@19060 13 WGET_URL="${WEB_SITE}/$STUFF_DIR/$TARBALL"
hackdorte@19060 14 TAGS="font ttf"
hackdorte@19060 15
hackdorte@19060 16 DEPENDS=""
hackdorte@19060 17 BUILD_DEPENDS="wget"
pascal@24505 18
pascal@24505 19 # What is the latest version available today?
pascal@24505 20 current_version()
pascal@24505 21 {
pascal@24505 22 wget -O - ${WGET_URL%/*}/ 2>/dev/null | \
pascal@24505 23 sed "/latest/d;/$SOURCE-[0-9]/!d;/tar/!d;s|.*$SOURCE-\\(.*\\).tar.*|\\1|" | sort -Vr | sed q
pascal@24505 24 }
hackdorte@19060 25
hackdorte@19060 26 # Rules to configure and make the package.
hackdorte@19060 27 compile_rules()
hackdorte@19060 28 {
hackdorte@19063 29 mkdir -p $install/usr/share/fonts/pd/$SOURCE
hackdorte@19063 30 cp -a $src/* $install/usr/share/fonts/pd/$SOURCE
hackdorte@19060 31 }
hackdorte@19060 32
hackdorte@19060 33 # Rules to gen a SliTaz package suitable for Tazpkg.
hackdorte@19060 34 genpkg_rules()
hackdorte@19060 35 {
hackdorte@19060 36 cp -a $install/* $fs
hackdorte@19060 37 }
hackdorte@19060 38
hackdorte@19060 39 post_install()
hackdorte@19060 40 {
pascal@19065 41 chroot "$1/" /usr/bin/fc-cache
hackdorte@19060 42 }