wok-current view tty-clock/receipt @ rev 25262

updated rclone (1.51.0 -> 1.59.0)
author Hans-G?nter Theisgen
date Fri Jul 15 08:42:33 2022 +0100 (2022-07-15)
parents 5ea0ce1cecc0
children
line source
1 # SliTaz package receipt.
3 PACKAGE="tty-clock"
4 VERSION="2.3"
5 CATEGORY="utilities"
6 TAGS="clock"
7 SHORT_DESC="Analog ncurses clock."
8 MAINTAINER="paul@slitaz.org"
9 LICENSE="BSD"
11 WEB_SITE="https://github.com/xorg62/tty-clock"
12 TARBALL="$PACKAGE-$VERSION.tar.gz"
13 WGET_URL="$WEB_SITE/archive/v$VERSION.tar.gz"
15 DEPENDS="ncurses"
16 BUILD_DEPENDS="ncurses-dev"
18 current_version()
19 {
20 wget -O - ${WGET_URL%/arch*}/tags 2>/dev/null | \
21 sed '/archive.*tar/!d;s|.*/v\(.*\).tar.*|\1|;q'
22 }
24 # Rules to configure and make the package.
25 compile_rules()
26 {
27 patch --input=$stuff/patches/Makefile-2.3 $src/Makefile
29 make PREFIX=/usr
30 }
32 # Rules to gen a SliTaz package suitable for Tazpkg.
33 genpkg_rules()
34 {
35 mkdir -p $fs/usr/bin
36 cp -a $src/$PACKAGE $fs/usr/bin
37 }