wok 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 fab080cdb380
children bc9b397dec56
files xprintidle/receipt
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/xprintidle/receipt	Wed Feb 05 15:08:31 2020 +0100
     1.3 @@ -0,0 +1,32 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="xprintidle"
     1.7 +VERSION="2.1"
     1.8 +CATEGORY="misc"
     1.9 +SHORT_DESC="Print user's Xserver idle time in milliseconds."
    1.10 +MAINTAINER="maintainer@slitaz.org"
    1.11 +LICENSE="GPLv2+"
    1.12 +WEB_SITE="https://github.com/lucianposton/xprintidle"
    1.13 +
    1.14 +TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.15 +WGET_URL="$WEB_SITE/archive/v$VERSION.tar.gz"
    1.16 +
    1.17 +BUILD_DEPENDS="xorg-libXScrnSaver-dev"
    1.18 +
    1.19 +HOST_ARCH="i486 arm"
    1.20 +
    1.21 +# Rules to configure and make the package.
    1.22 +compile_rules()
    1.23 +{
    1.24 +	./configure			\
    1.25 +		$CONFIGURE_ARGS &&
    1.26 +	make &&
    1.27 +	make install
    1.28 +}
    1.29 +
    1.30 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.31 +genpkg_rules()
    1.32 +{
    1.33 +	mkdir -p $fs/usr
    1.34 +	cp -a $install/usr/bin	$fs/usr
    1.35 +}