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