wok view xprintidle/receipt @ rev 24560
updated fossil (2.12.1 -> 2.18)
author | Hans-G?nter Theisgen |
---|---|
date | Fri Feb 25 16:12:40 2022 +0100 (2022-02-25) |
parents | d231f44f9f0a |
children | 0262035dc1e7 |
line source
1 # SliTaz package receipt.
3 PACKAGE="xprintidle"
4 VERSION="2.1"
5 CATEGORY="misc"
6 SHORT_DESC="Print user's Xserver idle time in milliseconds."
7 MAINTAINER="maintainer@slitaz.org"
8 LICENSE="GPLv2+"
9 WEB_SITE="https://github.com/lucianposton/xprintidle"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="$WEB_SITE/archive/v$VERSION.tar.gz"
14 BUILD_DEPENDS="xorg-libXScrnSaver-dev"
16 HOST_ARCH="i486 arm"
18 current_version()
19 {
20 wget -O - ${WGET_URL%/arch*}/releases 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 ./configure \
28 $CONFIGURE_ARGS &&
29 make &&
30 make install
31 }
33 # Rules to gen a SliTaz package suitable for Tazpkg.
34 genpkg_rules()
35 {
36 mkdir -p $fs/usr
37 cp -a $install/usr/bin $fs/usr
38 }