SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "xprintidle"

# SliTaz package receipt.

PACKAGE="xprintidle"
VERSION="2.1"
CATEGORY="misc"
SHORT_DESC="Print user's Xserver idle time in milliseconds."
MAINTAINER="maintainer@slitaz.org"
LICENSE="GPLv2+"
WEB_SITE="https://github.com/lucianposton/xprintidle"

TARBALL="$PACKAGE-$VERSION.tar.gz"
WGET_URL="$WEB_SITE/archive/v$VERSION.tar.gz"

BUILD_DEPENDS="xorg-libXScrnSaver-dev"

HOST_ARCH="i486 arm"

current_version()
{
    wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \
    sed '/archive.*tar/!d;s|.*/v\(.*\).tar.*|\1|;q'
}

# Rules to configure and make the package.
compile_rules()
{
    ./configure            \
        $CONFIGURE_ARGS &&
    make &&
    make install
}

# Rules to gen a SliTaz package suitable for Tazpkg.
genpkg_rules()
{
    mkdir -p $fs/usr
    cp -a $install/usr/bin    $fs/usr
}
6047 packages and 209931 files in current database (Wed Jun 26 15:35:30 2024)