wok view asciiquarium/receipt @ rev 25794
created recipe for exo-lang
author | Hans-G?nter Theisgen |
---|---|
date | Wed Oct 23 16:19:52 2024 +0100 (4 weeks ago) |
parents | d8c511e24c20 |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="asciiquarium"
4 VERSION="1.1"
5 CATEGORY="system-tools"
6 SHORT_DESC="Text console screensaver."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL2"
9 #WEB_SITE="https://robobunny.com/projects/asciiquarium/html/index.cgi"
10 WEB_SITE="https://github.com/cmatsuoka/asciiquarium"
12 TARBALL="${PACKAGE}_${VERSION}.tar.gz"
13 WGET_URL="https://robobunny.com/projects/asciiquarium/$TARBALL"
14 TAGS="screensaver"
16 DEPENDS="perl-animation perl-curses"
18 # What is the latest version available today?
19 current_version()
20 {
21 wget -O - $WEB_SITE/commits/master 2>/dev/null | \
22 sed 's|",|&\n|g' | sed '/committedDate/!d;s|.*":"||;s|T.*||;s|-||g;q'
23 }
25 # Rules to gen a SliTaz package suitable for Tazpkg.
26 genpkg_rules()
27 {
28 mkdir -p $fs/usr/bin
29 cp -a $src/asciiquarium $fs/usr/bin
30 chmod a+x $fs/usr/bin/asciiquarium
31 chown -R root:root $fs
32 }