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

updated lcms2, lcms2-apps and lcms2-dev (2.10 -> 2.13.1)
author Hans-G?nter Theisgen
date Mon Mar 14 15:57:04 2022 +0100 (2022-03-14)
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 }