wok-6.x annotate tty-clock/receipt @ rev 25377
updated udpxy (1.0.24.1 -> 1.0.25.1)
author | Hans-G?nter Theisgen |
---|---|
date | Sat Jul 30 11:20:37 2022 +0100 (2022-07-30) |
parents | 5ea0ce1cecc0 |
children |
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@24299 | 20 wget -O - ${WGET_URL%/arch*}/tags 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 } |