wok view tty-clock/receipt @ rev 24333

updated autoconf (2.69 -> 2.71)
author Hans-G?nter Theisgen
date Fri Jan 28 08:53:07 2022 +0100 (2022-01-28)
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 }