wok annotate figlet/receipt @ rev 25037

Up glza (0.11.4)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat May 21 21:38:29 2022 +0000 (24 months ago)
parents bfabe25c21ff
children 73f36875e5a7
rev   line source
pascal@19987 1 # SliTaz package receipt.
pascal@19987 2
pascal@19987 3 PACKAGE="figlet"
pascal@19987 4 VERSION="2.2.5"
pascal@19987 5 CATEGORY="misc"
pascal@19987 6 SHORT_DESC="A program for making large letters out of ordinary text."
pascal@19987 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@19987 8 LICENSE="BSD"
pascal@19987 9 TARBALL="$PACKAGE-$VERSION.tar.gz"
pascal@19987 10 WEB_SITE="http://www.figlet.org/"
pascal@19987 11 WGET_URL="ftp://ftp.figlet.org/pub/figlet/program/unix/$TARBALL"
pascal@19987 12
pascal@24439 13 # What is the latest version available today?
pascal@24439 14 current_version()
pascal@24439 15 {
pascal@24614 16 wget -O - https://github.com/cmatsuoka/figlet/tags 2>/dev/null | \
pascal@24614 17 sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;q'
pascal@24439 18 }
pascal@24439 19
pascal@19987 20 # Rules to configure and make the package.
pascal@19987 21 compile_rules()
pascal@19987 22 {
pascal@19987 23 sed -i 's|/local||' Makefile
pascal@19987 24 make &&
pascal@19987 25 make DESTDIR=$DESTDIR install
pascal@19987 26 }
pascal@19987 27
pascal@19987 28 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@19987 29 genpkg_rules()
pascal@19987 30 {
pascal@19987 31 mkdir -p $fs/usr
pascal@19987 32 cp -a $install/usr/bin $fs/usr
pascal@19987 33 cp -a $install/usr/share $fs/usr
pascal@19987 34 }