wok-current annotate figlet/receipt @ rev 24464
created recipes for dargui and dargui-lang
author | Hans-G?nter Theisgen |
---|---|
date | Thu Feb 17 11:06:13 2022 +0100 (2022-02-17) |
parents | 65dd2b506768 |
children | bc2b9d9bed6f |
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@24439 | 16 wget -O - ${WGET_URL%/*}/ 2>/dev/null | \ |
pascal@24439 | 17 sed "/latest/d;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*|\\1|" | sort -Vr | sed 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 } |