wok-6.x view figlet/receipt @ rev 24715
updated lfs-book (8.4 -> 11.1)
author | Hans-G?nter Theisgen |
---|---|
date | Tue Mar 15 06:57:03 2022 +0100 (2022-03-15) |
parents | bfabe25c21ff |
children | 73f36875e5a7 |
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="ftp://ftp.figlet.org/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 }