wok-6.x view tty-clock/receipt @ rev 25565

Reenable rpc for glibc, fix gpxe grub4dos receipt, fix linld url
author Stanislas Leduc <shann@slitaz.org>
date Tue May 09 17:24:00 2023 +0000 (18 months ago)
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 }