wok annotate xprintidle/receipt @ rev 25705
fusecloop/extract_compressed_fs: can convert to v0.68 or v1.0
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Jun 22 12:48:49 2024 +0000 (6 days ago) |
parents | 5ea0ce1cecc0 |
children |
rev | line source |
---|---|
Hans-G?nter@22820 | 1 # SliTaz package receipt. |
Hans-G?nter@22820 | 2 |
Hans-G?nter@22820 | 3 PACKAGE="xprintidle" |
Hans-G?nter@22820 | 4 VERSION="2.1" |
Hans-G?nter@22820 | 5 CATEGORY="misc" |
Hans-G?nter@22820 | 6 SHORT_DESC="Print user's Xserver idle time in milliseconds." |
Hans-G?nter@22820 | 7 MAINTAINER="maintainer@slitaz.org" |
Hans-G?nter@22820 | 8 LICENSE="GPLv2+" |
Hans-G?nter@22820 | 9 WEB_SITE="https://github.com/lucianposton/xprintidle" |
Hans-G?nter@22820 | 10 |
Hans-G?nter@22820 | 11 TARBALL="$PACKAGE-$VERSION.tar.gz" |
Hans-G?nter@22820 | 12 WGET_URL="$WEB_SITE/archive/v$VERSION.tar.gz" |
Hans-G?nter@22820 | 13 |
Hans-G?nter@22820 | 14 BUILD_DEPENDS="xorg-libXScrnSaver-dev" |
Hans-G?nter@22820 | 15 |
Hans-G?nter@22820 | 16 HOST_ARCH="i486 arm" |
Hans-G?nter@22820 | 17 |
pascal@25601 | 18 # What is the latest version available today? |
pascal@24055 | 19 current_version() |
pascal@24055 | 20 { |
pascal@24055 | 21 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \ |
pascal@25601 | 22 sed '/tag\//!d;s|.*tag/v*||;s|".*||;q' |
pascal@24055 | 23 } |
pascal@24055 | 24 |
Hans-G?nter@22820 | 25 # Rules to configure and make the package. |
Hans-G?nter@22820 | 26 compile_rules() |
Hans-G?nter@22820 | 27 { |
Hans-G?nter@22820 | 28 ./configure \ |
Hans-G?nter@22820 | 29 $CONFIGURE_ARGS && |
Hans-G?nter@22820 | 30 make && |
Hans-G?nter@22820 | 31 make install |
Hans-G?nter@22820 | 32 } |
Hans-G?nter@22820 | 33 |
Hans-G?nter@22820 | 34 # Rules to gen a SliTaz package suitable for Tazpkg. |
Hans-G?nter@22820 | 35 genpkg_rules() |
Hans-G?nter@22820 | 36 { |
Hans-G?nter@22820 | 37 mkdir -p $fs/usr |
Hans-G?nter@22820 | 38 cp -a $install/usr/bin $fs/usr |
Hans-G?nter@22820 | 39 } |