SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "xinput-calibrator"

# SliTaz package receipt.

PACKAGE="xinput-calibrator"
VERSION="0.7.5"
CATEGORY="x-window"
SHORT_DESC="A generic touchscreen calibration program for X.Org"
MAINTAINER="pankso@slitaz.org"
LICENSE="GPL2"
SOURCE="xinput_calibrator"
TARBALL="$SOURCE-$VERSION.tar.gz"
WEB_SITE="https://www.freedesktop.org/wiki/Software/xinput_calibrator/"
WGET_URL="https://github.com/tias/xinput_calibrator/archive/refs/tags/v$SOURCE.tar.gz"
HOST_ARCH="i486 arm"

DEPENDS="xorg-libX11"
BUILD_DEPENDS="xorg-libX11"

# What is the latest version available today?
current_version()
{
    wget -O - https://github.com/tias/xinput_calibrator/tags 2>/dev/null | \
    sed '/archive.*tar/!d;s|.*/[A-Za-z_-]*\(.*\).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/share/pixmaps
    cp -a $install/usr/bin $fs/usr
    cp -a $install/usr/share/pixmaps/*.xpm \
        $fs/usr/share/pixmaps
}
6025 packages and 203154 files in current database (Thu Apr 25 06:17:47 2024)