wok-current annotate xprintidle/receipt @ rev 22820

created recipe for xprintidle-2.1
author Hans-G?nter Theisgen
date Wed Feb 05 15:08:31 2020 +0100 (2020-02-05)
parents
children 5ea0ce1cecc0
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
Hans-G?nter@22820 18 # Rules to configure and make the package.
Hans-G?nter@22820 19 compile_rules()
Hans-G?nter@22820 20 {
Hans-G?nter@22820 21 ./configure \
Hans-G?nter@22820 22 $CONFIGURE_ARGS &&
Hans-G?nter@22820 23 make &&
Hans-G?nter@22820 24 make install
Hans-G?nter@22820 25 }
Hans-G?nter@22820 26
Hans-G?nter@22820 27 # Rules to gen a SliTaz package suitable for Tazpkg.
Hans-G?nter@22820 28 genpkg_rules()
Hans-G?nter@22820 29 {
Hans-G?nter@22820 30 mkdir -p $fs/usr
Hans-G?nter@22820 31 cp -a $install/usr/bin $fs/usr
Hans-G?nter@22820 32 }