wok annotate tty-clock/receipt @ rev 24184
updated perl-class-singleton (1.5 -> 1.6)
author | Hans-G?nter Theisgen |
---|---|
date | Fri Dec 31 14:00:12 2021 +0100 (2021-12-31) |
parents | 2ad68c5f19e1 |
children | ac8ca9758df1 |
rev | line source |
---|---|
paul@4625 | 1 # SliTaz package receipt. |
paul@4625 | 2 |
paul@4625 | 3 PACKAGE="tty-clock" |
Hans-G?nter@21558 | 4 VERSION="2.3" |
paul@4625 | 5 CATEGORY="utilities" |
Hans-G?nter@21558 | 6 TAGS="clock" |
paul@4625 | 7 SHORT_DESC="Analog ncurses clock." |
paul@4625 | 8 MAINTAINER="paul@slitaz.org" |
pascal@15601 | 9 LICENSE="BSD" |
Hans-G?nter@21558 | 10 |
paul@16746 | 11 WEB_SITE="https://github.com/xorg62/tty-clock" |
Hans-G?nter@21558 | 12 TARBALL="$PACKAGE-$VERSION.tar.gz" |
Hans-G?nter@21558 | 13 WGET_URL="$WEB_SITE/archive/v$VERSION.tar.gz" |
pascal@15099 | 14 |
paul@4625 | 15 DEPENDS="ncurses" |
Hans-G?nter@21558 | 16 BUILD_DEPENDS="ncurses-dev" |
paul@4625 | 17 |
pascal@24055 | 18 current_version() |
pascal@24055 | 19 { |
pascal@24055 | 20 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \ |
pascal@24055 | 21 sed '/archive.*tar/!d;s|.*/v\(.*\).tar.*|\1|;q' |
pascal@24055 | 22 } |
pascal@24055 | 23 |
paul@4625 | 24 # Rules to configure and make the package. |
paul@4625 | 25 compile_rules() |
paul@4625 | 26 { |
Hans-G?nter@21558 | 27 patch --input=$stuff/patches/Makefile-2.3 $src/Makefile |
Hans-G?nter@21558 | 28 |
Hans-G?nter@21558 | 29 make PREFIX=/usr |
paul@4625 | 30 } |
paul@4625 | 31 |
paul@4625 | 32 # Rules to gen a SliTaz package suitable for Tazpkg. |
paul@4625 | 33 genpkg_rules() |
paul@4625 | 34 { |
paul@4625 | 35 mkdir -p $fs/usr/bin |
paul@16746 | 36 cp -a $src/$PACKAGE $fs/usr/bin |
paul@4625 | 37 } |